addUsername method

Future<void> addUsername({
  1. required String redirectURI,
  2. List<String>? uiLocales,
  3. ColorScheme? colorScheme,
})

Implementation

Future<void> addUsername(
    {required String redirectURI,
    List<String>? uiLocales,
    ColorScheme? colorScheme}) async {
  await _openSettingsAction(
    action: SettingsAction.addUsername,
    redirectURI: redirectURI,
    uiLocales: uiLocales,
    colorScheme: colorScheme,
  );
}