UpdateSensorStatus.fromMap constructor

UpdateSensorStatus.fromMap(
  1. Map map
)

Implementation

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