2
0
mirror of https://github.com/esiur/esiur-dart.git synced 2026-04-03 17:58:21 +00:00
This commit is contained in:
2022-03-12 16:21:29 +03:00
parent 92a26b8ce5
commit 88eba227ae
64 changed files with 38165 additions and 2952 deletions

View File

@@ -1,9 +1,11 @@
import 'dart:collection';
import '../Resource/Template/TemplateDescriber.dart';
import 'IRecord.dart';
import 'KeyList.dart';
class Record extends KeyList with IRecord {
class Record extends IRecord with MapMixin<String, dynamic> {
Map<String, dynamic> _props = Map<String, dynamic>();
@override
@@ -17,9 +19,29 @@ class Record extends KeyList with IRecord {
}
operator [](index) => _props[index];
operator []=(index, value) => _props[index] = value;
operator []=(String index, value) => _props[index] = value;
@override
String toString() {
return _props.toString();
}
@override
// TODO: implement template
TemplateDescriber get template => throw UnimplementedError();
@override
void clear() {
// TODO: implement clear
}
@override
// TODO: implement keys
Iterable<String> get keys => _props.keys;
@override
remove(Object? key) {
// TODO: implement remove
throw UnimplementedError();
}
}