Rule.fromJson constructor
Implementation
factory Rule.fromJson(Map<String, dynamic> json) {
return Rule(
parameters: (json['Parameters'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
type: (json['Type'] as String?)?.toRuleType(),
);
}