AccountInfo.fromMap constructor
AccountInfo.fromMap(
- Map<String, dynamic> json
)
Implementation
AccountInfo.fromMap(Map<String, dynamic> json) {
accountId = json["account_id"];
name = AccountName.fromMap(json["name"]);
email = json["email"];
emailVerified = json["email_verified"];
profilePhotoUrl = json["profile_photo_url"];
disabled = json["disabled"];
country = json["country"];
locale = json["locale"];
referralLink = json["referral_link"];
isPaired = json["is_paired"];
accountType = AccountType.fromMap(json["account_type"]);
rootInfo = RootInfo.fromMap(json["root_info"]);
}