fromMap static method
- dynamic levelMap
Implementation
static Level fromMap(dynamic levelMap) {
return Level(
id: levelMap['id'] as double,
name: levelMap['name'] as String,
shortName: levelMap['shortName'] as String,
);
}
static Level fromMap(dynamic levelMap) {
return Level(
id: levelMap['id'] as double,
name: levelMap['name'] as String,
shortName: levelMap['shortName'] as String,
);
}