UpdateOnWristStatus.fromMap constructor

UpdateOnWristStatus.fromMap(
  1. Map map
)

Implementation

factory UpdateOnWristStatus.fromMap(Map<dynamic, dynamic> map) {
  final String type = map['type'];
  final int status = map['status'];
  return UpdateOnWristStatus(type, status);
}