toJson method
Implementation
Map<String, dynamic> toJson() {
final name = this.name;
final vendorName = this.vendorName;
final excludedRules = this.excludedRules;
return {
'Name': name,
'VendorName': vendorName,
if (excludedRules != null) 'ExcludedRules': excludedRules,
};
}