UpdateStatus.fromMap constructor
UpdateStatus.fromMap(
- Map map
Implementation
factory UpdateStatus.fromMap(Map<dynamic, dynamic> map) {
final String type = map['type'];
final EmpaStatus status = StatusFactory.fromString(map['status']).status;
return UpdateStatus(type, status);
}