updateProfile method
Updates the profile.
displayName Optional new display name.
photoURL Optional new photo URL.
Returns a Future that completes when updated.
Example:
await user.updateProfile(displayName: 'New Name', photoURL: 'url');
Implementation
Future<void> updateProfile({String? displayName, String? photoURL}) async {
await updateDisplayName(displayName);
await updatePhotoURL(photoURL);
}