toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (description != null) 'description': description!,
if (name != null) 'name': name!,
if (rules != null) 'rules': rules!,
if (source != null) 'source': source!,
};