Move MapQueryValues to the proper file

This commit is contained in:
Tobe O 2019-08-17 18:46:22 -04:00
parent 703b16206a
commit 9a97b93ece
2 changed files with 10 additions and 9 deletions

View file

@ -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;
}

View file

@ -57,11 +57,3 @@ abstract class QueryValues {
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;
}