Translator constructor
Translator(})
Implementation
Translator(
Map<dynamic, dynamic>? map,
String key, {
required this.locale,
this.count,
InterpolationOptions? interpolation,
List<String>? fallbackKeys,
String? defaultValue,
Map<String, dynamic>? params,
}) : this._map = map ?? {},
this._keys = [...(fallbackKeys ?? []), key],
this._defaultValue = defaultValue ?? key,
this._params = (params ?? {})..['count'] = count,
this._interpolation = interpolation ?? InterpolationOptions();