updateSettings method

  1. @override
Future<void> updateSettings(
  1. String apiKey, {
  2. Locale? locale,
})
override

Updates the settings of the places client with the given API key and locale.

Implementation

@override
Future<void> updateSettings(String apiKey, {Locale? locale}) async {
  if (locale != null) {
    _language = locale.languageCode;
  }
}