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