Condition.fromJson constructor

Condition.fromJson(
  1. Map json_
)

Implementation

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