2
0
mirror of https://github.com/esiur/esiur-dart.git synced 2026-04-04 02:08:21 +00:00

null-safety

This commit is contained in:
2021-07-24 13:12:43 +03:00
parent 6be04c39ed
commit 614c6853e3
48 changed files with 3022 additions and 3320 deletions

View File

@@ -25,22 +25,12 @@ SOFTWARE.
import '../../Data/KeyList.dart';
import 'SourceAttributeType.dart';
class Source
{
class Source {
//string id;
String id;
//string id;
String id;
KeyList<SourceAttributeType, dynamic> attributes;
Source.from(this.id, this.attributes)
{
}
Source()
{
attributes = new KeyList<SourceAttributeType, dynamic>();
}
KeyList<SourceAttributeType, dynamic> attributes =
new KeyList<SourceAttributeType, dynamic>();
Source.from(this.id, this.attributes) {}
}