setLocale static method

void setLocale(
  1. String locale
)

Implementation

static void setLocale(String locale) {
  try {
    plotlineChannel.invokeMethod('setLocale', <String, dynamic>{
      'locale': locale,
    });
  } catch (e) {
    debugPrint("Error in setLocale: $e");
  }
}