ManualRuleGroup.fromJson constructor

ManualRuleGroup.fromJson(
  1. Map json_
)

Implementation

ManualRuleGroup.fromJson(core.Map json_)
    : this(
        groupName: json_.containsKey('groupName')
            ? ExtendedValue.fromJson(
                json_['groupName'] as core.Map<core.String, core.dynamic>)
            : null,
        items: json_.containsKey('items')
            ? (json_['items'] as core.List)
                .map((value) => ExtendedValue.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );