@override Object toJson() => { if (exclusions.isNotDefault) 'exclusions': [for (final i in exclusions) i.toJson()], };