asMap method Null safety

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

Returns the current instance as a serialized Map.

Implementation

@override
Map<String, String?> asMap() {
  return <String, String?>{
    'providerId': providerId,
    'signInMethod': signInMethod,
    'idToken': idToken,
    'accessToken': accessToken,
    'secret': secret,
    'rawNonce': rawNonce,
  };
}