V2TimUserStatus.fromJson constructor

V2TimUserStatus.fromJson(
  1. Map json
)

Implementation

V2TimUserStatus.fromJson(Map json) {
  json = Utils.formatJson(json);
  userID = json['user_status_identifier'] ?? "";
  statusType = json['user_status_status_type'];
  customStatus = json['user_status_custom_status'];
  onlineDevices = List<String>.from(json['user_status_online_devices'] ?? []);
}