toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
  'label': label,
  'url': url,
  if (description != null) 'description': description,
};