toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  'name': name,
  if (description != null) 'description': description,
  if (repo != null) 'repo': repo,
  if (icon != null) 'icon': icon,
  'annotations': annotations,
};