FakeTranslations constructor
FakeTranslations(
- FakeAppLocale locale, {
- Map<
String, Node> ? overrides, - PluralResolver? cardinalResolver,
- PluralResolver? ordinalResolver,
- 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;