ChatPresenceStatusDetail.fromJson constructor

ChatPresenceStatusDetail.fromJson(
  1. Map map
)

Implementation

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