PatchRuleGroup.fromJson constructor

PatchRuleGroup.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PatchRuleGroup.fromJson(Map<String, dynamic> json) {
  return PatchRuleGroup(
    patchRules: (json['PatchRules'] as List)
        .whereNotNull()
        .map((e) => PatchRule.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}