@override Object toJson() { return { 'parent': parent, if (exclusion != null) 'exclusion': exclusion!.toJson(), }; }