Move MapQueryValues to the proper file
This commit is contained in:
parent
703b16206a
commit
9a97b93ece
2 changed files with 10 additions and 9 deletions
|
@ -0,0 +1,9 @@
|
||||||
|
import 'query_values.dart';
|
||||||
|
|
||||||
|
/// A [QueryValues] implementation that simply writes to a [Map].
|
||||||
|
class MapQueryValues extends QueryValues {
|
||||||
|
final Map<String, dynamic> values = {};
|
||||||
|
|
||||||
|
@override
|
||||||
|
Map<String, dynamic> toMap() => values;
|
||||||
|
}
|
|
@ -56,12 +56,4 @@ abstract class QueryValues {
|
||||||
}
|
}
|
||||||
return b.toString();
|
return b.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A [QueryValues] implementation that simply writes to a [Map].
|
|
||||||
class MapQueryValues extends QueryValues {
|
|
||||||
final Map<String, dynamic> values = {};
|
|
||||||
|
|
||||||
@override
|
|
||||||
Map<String, dynamic> toMap() => values;
|
|
||||||
}
|
|
Loading…
Reference in a new issue