LocaleRef constructor

LocaleRef(
  1. String languageCode,
  2. String countryCode
)

Creates a new LocaleRef from a languageCode and a countryCode.

Implementation

LocaleRef(
  this.languageCode,
  this.countryCode,
) : super(
        ref: '${languageCode}_$countryCode'.toLowerCase(),
        type: LocaleRef,
      );