findLocale method

String findLocale(
  1. String? locale
)

Given an initial locale or null, returns the locale that will be used for messages.

Implementation

String findLocale(String? locale) =>
    locale ?? global_state.getCurrentLocale();