updateEmail method

Future<EmailUpdateResponse> updateEmail(
  1. EmailUpdateRequest request, [
  2. String? locale
])

Implementation

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