@override Object toJson() => { 'description': ?description, 'fingerprint': ?fingerprint, 'name': ?name, if (terms.isNotDefault) 'terms': [for (final i in terms) i.toJson()], 'type': ?type, };