mirror of
https://github.com/esiur/esiur-dart.git
synced 2026-04-04 02:08:21 +00:00
26 lines
560 B
Dart
26 lines
560 B
Dart
import '../Resource/Template/TemplateDescriber.dart';
|
|
|
|
import 'IRecord.dart';
|
|
import 'KeyList.dart';
|
|
|
|
class Record extends KeyList with IRecord {
|
|
Map<String, dynamic> _props = Map<String, dynamic>();
|
|
|
|
@override
|
|
Map<String, dynamic> serialize() {
|
|
return _props;
|
|
}
|
|
|
|
@override
|
|
deserialize(Map<String, dynamic> value) {
|
|
_props = value;
|
|
}
|
|
|
|
operator [](index) => _props[index];
|
|
operator []=(index, value) => _props[index] = value;
|
|
|
|
@override
|
|
// TODO: implement template
|
|
TemplateDescriber get template => throw UnimplementedError();
|
|
}
|