LanguageTargeting.fromJson constructor

LanguageTargeting.fromJson(
  1. Map json_
)

Implementation

LanguageTargeting.fromJson(core.Map json_)
    : this(
        alternatives: json_.containsKey('alternatives')
            ? (json_['alternatives'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        value: json_.containsKey('value')
            ? (json_['value'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );