fromJson static method
- dynamic json
从json解析
Implementation
static App fromJson(json) {
return App(
name: json['name'],
instance: List.from(json['instance'] ?? [])
.map((j) => Instance.fromJson(j))
.toList());
}
从json解析
static App fromJson(json) {
return App(
name: json['name'],
instance: List.from(json['instance'] ?? [])
.map((j) => Instance.fromJson(j))
.toList());
}