FirebaseAuthError.invalidDisplayName constructor

FirebaseAuthError.invalidDisplayName([
  1. String? message
])

The provided value for the displayName user property is invalid. It must be a non-empty string.

Implementation

FirebaseAuthError.invalidDisplayName([String? message])
    : this('invalid-display-name',
          message ?? 'The displayName field must be a valid string.');