IGroupCallRoomMemberDevice.fromJson constructor

IGroupCallRoomMemberDevice.fromJson(
  1. Map<String, dynamic> json
)

Implementation

IGroupCallRoomMemberDevice.fromJson(Map<String, dynamic> json) {
  device_id = json['device_id'];
  session_id = json['session_id'];
  expires_ts = json['expires_ts'];

  if (json['feeds'] != null) {
    feeds = (json['feeds'] as List<dynamic>)
        .map((feed) => IGroupCallRoomMemberFeed.fromJson(feed))
        .toList();
  }
}