localeForApi property

String get localeForApi

The locale sent by the manger to the apis.

Implementation

String get localeForApi {
  if (locale != null) {
    if (locale!.length >= 2) {
      return locale!.substring(0, 2);
    }
  }
  return 'it';
}