setLanguageCode method

Future<void> setLanguageCode(
  1. String language
)

Sets the user-facing language code for auth operations that can be internationalized, such as sendEmailVerification. This language code should follow the conventions defined by the IETF in BCP47.

Implementation

Future<void> setLanguageCode(String language) async {
  try {
    await _modAuth!.setLanguageCode(language).catchError(setError);
  } catch (ex) {
    setError(ex);
  }
}