UserListModel.fromJson constructor

UserListModel.fromJson(
  1. dynamic json
)

Implementation

UserListModel.fromJson(dynamic json) {
  _vidoeEnabled = json['vidoeEnabled'];
  _role = json['role'];
  _clientId = json['clientId'];
  _videoMuted = json['videoMuted'];
  //  _data = json['data'] != null ? Data.fromJson(json['data']) : null;
  _permissions = json['permissions'] != null
      ? Permissions.fromJson(json['permissions'])
      : null;
  _name = json['name'];
  _audioMuted = json['audioMuted'];
  _audioEnabled = json['audioEnabled'];
  _userRef = json['user_ref'];
}