asMap method

  1. @override
Map<String, String?> asMap()
override

Converts the credential to a map.

Returns a Map<String, String?> representation of the credential.

Implementation

@override
/// Converts the credential to a map.
///
/// Returns a [Map<String, String?>] representation of the credential.
Map<String, String?> asMap() {
  return <String, String?>{
    'providerId': providerId,
    'signInMethod': signInMethod,
    'idToken': idToken,
    "rawNonce": rawNonce,
    'accessToken': accessToken
  };
}