RestrictedUser.fromJson constructor
Implementation
factory RestrictedUser.fromJson(Map<String, dynamic> json) {
final user = _$RestrictedUserFromJson(json)
..set(SendbirdChat().chat); // Set the singleton chat
user._restrictionInfo = RestrictionInfo.fromJson(json);
return user;
}