Condition.fromJson constructor

Condition.fromJson(
  1. Map json_
)

Implementation

Condition.fromJson(core.Map json_)
    : this(
        iam: json_.containsKey('iam') ? json_['iam'] as core.String : null,
        op: json_.containsKey('op') ? json_['op'] as core.String : null,
        svc: json_.containsKey('svc') ? json_['svc'] as core.String : null,
        sys: json_.containsKey('sys') ? json_['sys'] as core.String : null,
        values: json_.containsKey('values')
            ? (json_['values'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );