toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (colabNotebookDisabled != null)
    'colabNotebookDisabled': colabNotebookDisabled!,
  if (references != null) 'references': references!,
  if (resourceDescription != null)
    'resourceDescription': resourceDescription!,
  if (resourceTitle != null) 'resourceTitle': resourceTitle!,
  if (resourceUseCase != null) 'resourceUseCase': resourceUseCase!,
  if (supportsWorkbench != null) 'supportsWorkbench': supportsWorkbench!,
  if (title != null) 'title': title!,
};