This commit is contained in:
toly
2023-11-20 20:05:05 +08:00
parent 8de38299e2
commit 6e8d926693
61 changed files with 3107 additions and 65 deletions

View File

@@ -0,0 +1,16 @@
{
"set_error_type": [],
"phase_type": [],
"hierarchy": {
"5": [
{
"meter_id": "180001507008",
"error_type": null,
"is_ltu": true,
"addr": "江西省宜春市袁州区温汤镇社埠村社布台区",
"phase": "0"
}
]
},
"meter_set": []
}

View File

@@ -1,3 +1,26 @@
class A<T extends NameAble>{
final T data;
A(this.data);
void printName(){
print(data.name);
}
}
mixin NameAble{
String get name;
}
class B with NameAble{
@override
String get name => 'B';
}
class Node {
final String value;
final List<Node> children;