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