FakeTranslations constructor

FakeTranslations(
  1. FakeAppLocale locale, {
  2. Map<String, Node>? overrides,
  3. PluralResolver? cardinalResolver,
  4. PluralResolver? ordinalResolver,
  5. int? s,
})

Implementation

FakeTranslations(
  FakeAppLocale locale, {
  Map<String, Node>? overrides,
  PluralResolver? cardinalResolver,
  PluralResolver? ordinalResolver,
  int? s,
})  : $meta = TranslationMetadata(
        locale: locale,
        overrides: overrides ?? {},
        cardinalResolver: cardinalResolver,
        ordinalResolver: ordinalResolver,
        s: s ?? 0,
      ),
      providedNullOverrides = overrides == null;