setLocale abstract method Null safety

Future<bool> setLocale(
  1. Locale locale
)

Sets locale.