UserFullInfo.fromJson constructor

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

Parse from a json

Implementation

UserFullInfo.fromJson(Map<String, dynamic> json) {
  this.photo = ChatPhoto.fromJson(json['photo'] ?? <String, dynamic>{});
  this.isBlocked = json['is_blocked'];
  this.canBeCalled = json['can_be_called'];
  this.supportsVideoCalls = json['supports_video_calls'];
  this.hasPrivateCalls = json['has_private_calls'];
  this.needPhoneNumberPrivacyException =
      json['need_phone_number_privacy_exception'];
  this.bio = json['bio'];
  this.shareText = json['share_text'];
  this.groupInCommonCount = json['group_in_common_count'];
  this.botInfo = BotInfo.fromJson(json['bot_info'] ?? <String, dynamic>{});
  this.extra = json['@extra'];
}