blob: b7e5067039e9aa363420fd303f317acf76385a78 [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);
}