fromMap static method
Implementation
static BatteryTernary fromMap(Map<dynamic, dynamic> map) {
int id = map["id"];
String name = map["name"];
return BatteryTernary.valueFromName(name);
}
static BatteryTernary fromMap(Map<dynamic, dynamic> map) {
int id = map["id"];
String name = map["name"];
return BatteryTernary.valueFromName(name);
}