getSupportedLocales static method

List<String> getSupportedLocales()

Retrieves a list of supported locales in Jiffy.

This static method returns a list of supported locales by invoking the getSupportedLocales() method from the supported_locales module.

The returned list contains strings representing the supported locales.

Example usage:

final supportLocales = Jiffy.getSupportedLocales();
print(supportLocales); // ['en_us', 'en', 'fr', ...]

Implementation

static List<String> getSupportedLocales() =>
    supported_locales.getSupportedLocales();