BasicLevel.fromJson constructor

BasicLevel.fromJson(
  1. Map json_
)

Implementation

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