ListPopulationRule.fromJson constructor

ListPopulationRule.fromJson(
  1. Map json_
)

Implementation

ListPopulationRule.fromJson(core.Map json_)
    : this(
        floodlightActivityId: json_.containsKey('floodlightActivityId')
            ? json_['floodlightActivityId'] as core.String
            : null,
        floodlightActivityName: json_.containsKey('floodlightActivityName')
            ? json_['floodlightActivityName'] as core.String
            : null,
        listPopulationClauses: json_.containsKey('listPopulationClauses')
            ? (json_['listPopulationClauses'] as core.List)
                .map((value) => ListPopulationClause.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );