updateProfile method Null safety

Future<void> updateProfile(
  1. {String? displayName,
  2. String? photoURL}
)

Updates a user's profile data.

Implementation

Future<void> updateProfile({String? displayName, String? photoURL}) async {
  await _delegate.updateProfile(<String, String?>{
    'displayName': displayName,
    'photoURL': photoURL,
  });
}