GamesNumberAffixConfiguration.fromJson constructor

GamesNumberAffixConfiguration.fromJson(
  1. Map json_
)

Implementation

GamesNumberAffixConfiguration.fromJson(core.Map json_)
    : this(
        few: json_.containsKey('few')
            ? LocalizedStringBundle.fromJson(
                json_['few'] as core.Map<core.String, core.dynamic>)
            : null,
        many: json_.containsKey('many')
            ? LocalizedStringBundle.fromJson(
                json_['many'] as core.Map<core.String, core.dynamic>)
            : null,
        one: json_.containsKey('one')
            ? LocalizedStringBundle.fromJson(
                json_['one'] as core.Map<core.String, core.dynamic>)
            : null,
        other: json_.containsKey('other')
            ? LocalizedStringBundle.fromJson(
                json_['other'] as core.Map<core.String, core.dynamic>)
            : null,
        two: json_.containsKey('two')
            ? LocalizedStringBundle.fromJson(
                json_['two'] as core.Map<core.String, core.dynamic>)
            : null,
        zero: json_.containsKey('zero')
            ? LocalizedStringBundle.fromJson(
                json_['zero'] as core.Map<core.String, core.dynamic>)
            : null,
      );