SystemParameterRule.fromJson constructor

SystemParameterRule.fromJson(
  1. Map json_
)

Implementation

SystemParameterRule.fromJson(core.Map json_)
    : this(
        parameters: json_.containsKey('parameters')
            ? (json_['parameters'] as core.List)
                .map((value) => SystemParameter.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        selector: json_.containsKey('selector')
            ? json_['selector'] as core.String
            : null,
      );