metadata property Null safety

UserMetadata metadata

Returns additional metadata about the user, such as their creation time.

Implementation

UserMetadata get metadata {
  return UserMetadata(
      _user['metadata']['creationTime'], _user['metadata']['lastSignInTime']);
}