toMap method

Map<String, dynamic> toMap()

Creates a map object from attributes.

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'accessToken': accessToken,
    'account': account?.toMap(),
    'accountFlag': accountFlag,
    'authorizationCode': authorizationCode,
    'authorizedScopes': authorizedScopes,
    'avatarUri': avatarUri,
    'displayName': displayName,
    'email': email,
    'familyName': familyName,
    'gender': gender,
    'givenName': givenName,
    'idToken': idToken,
    'openId': openId,
    'serviceCountryCode': serviceCountryCode,
    'unionId': unionId,
    'carrierId': carrierId,
  };
}