setLocale method
Sets the locale for this database.
Does nothing if this database has the NO_LOCALIZED_COLLATORS flag set or was opened read-only.
Implementation
Future<void> setLocale(final Locale locale) {
final Map<String, dynamic> request = <String, dynamic>{
'id': id,
'locale': locale.toString()
};
return _channel.invokeMethod('setLocale', request);
}