toJson method

  1. @override
Object toJson()

Implementation

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