EMPresenceStatusDetail.fromJson constructor

EMPresenceStatusDetail.fromJson(
  1. Map map
)

Implementation

factory EMPresenceStatusDetail.fromJson(Map map) {
  String device = map["device"];
  int status = map["status"] ?? 0;
  return EMPresenceStatusDetail._private(device, status);
}