updateEmail method
Implementation
Future<EmailUpdateResponse> updateEmail(
EmailUpdateRequest request, [
String? locale,
]) async =>
EmailUpdateResponse.fromJson(
await _post(
_buildUri('accounts:update'),
request.toJson(),
headers: locale != null ? {_firebaseLocaleHeader: locale} : null,
),
);