toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    "account_id": accountId,
    "name": name?.toMap(),
    "email": email,
    "email_verified": emailVerified,
    "profile_photo_url": profilePhotoUrl,
    "disabled": disabled,
    "country": country,
    "locale": locale,
    "referral_link": referralLink,
    "is_paired": isPaired,
    "account_type": accountType?.toMap(),
    "root_info": rootInfo?.toMap(),
  };
}