UpdateRequest.profile constructor
const
UpdateRequest.profile({})
Implementation
const factory UpdateRequest.profile({
/// A Firebase Auth ID token for the user.
required String idToken,
/// User's new display name.
String? displayName,
/// User's new photo url.
Uri? photoUrl,
/// List of attributes to delete, [DeleteAttribute.DISPLAY_NAME] or
/// [DeleteAttribute.PHOTO_URL]. This will nullify these values.
@Default(<DeleteAttribute>[]) List<DeleteAttribute> deleteAttribute,
/// Whether or not to return an ID and refresh token.
@Default(false) bool returnSecureToken,
}) = ProfileUpdateRequest;