ZoneBoundary.fromJson constructor

ZoneBoundary.fromJson(
  1. Map json_
)

Implementation

ZoneBoundary.fromJson(core.Map json_)
    : this(
        condition: json_.containsKey('condition')
            ? (json_['condition'] as core.List)
                .map((value) => Condition.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        customEvaluationTriggerId:
            json_.containsKey('customEvaluationTriggerId')
                ? (json_['customEvaluationTriggerId'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
      );