toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (exclusions != null)
'exclusions': exclusions!.map((value) => value.toJson()).toList(),
if (inclusions != null)
'inclusions': inclusions!.map((value) => value.toJson()).toList(),
if (key != null) 'key': key!,
};