toJson method

Map<String, dynamic> toJson()

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!,
    };