asMap method Null safety

Map<String, dynamic> asMap()

Returns the current instance as a serialized Map.

Implementation

Map<String, dynamic> asMap() {
  return <String, dynamic>{
    'providerId': providerId,
    'signInMethod': signInMethod,
    'token': token,
  };
}