TetraStats/lib/data_objects/tetrio_prisecter.dart

18 lines
326 B
Dart
Raw Normal View History

2024-09-15 16:38:07 +00:00
class Prisecter {
late final num pri;
late final num sec;
late final num ter;
Prisecter(this.pri, this.sec, this.ter);
@override
String toString() {
return "${pri}:${sec}:${ter}";
}
Prisecter.fromJson(Map<String, dynamic> json){
pri = json['pri'];
sec = json['sec'];
ter = json['ter'];
}
}