updateProfile method

  1. @Deprecated('Will be removed in version 2.0.0. ' 'Use updatePhotoURL and updateDisplayName instead.')
Future<void> updateProfile(
  1. {String? displayName,
  2. String? photoURL}
)

Updates a user's profile data.

Implementation

@Deprecated(
  'Will be removed in version 2.0.0. '
  'Use updatePhotoURL and updateDisplayName instead.',
)
Future<void> updateProfile({String? displayName, String? photoURL}) {
  return _delegate.updateProfile(<String, String?>{
    'displayName': displayName,
    'photoURL': photoURL,
  });
}