blob: 2ffa0d1bdb90a0c51d620470eac8632925052a76 [file] [log] [blame]
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/**
* @assertion abstract class MapMixin<K, V>
* Mixin implementing a [Map].
* @description Checks that all members of [Map] are implemented.
* @author sgrekhov@unipro.ru
*/
import "dart:collection";
import "mapmixin.lib.dart";
import "inherited_tests.lib.dart" as map_tests;
MapMixin create([Map? content]) {
if (content == null) {
return new MapMixinImpl();
} else {
return new MapMixinImpl.from(content);
}
}
main() {
map_tests.test(create);
}