fromMap static method

LabelColor fromMap(
  1. Map map
)

Implementation

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