toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (attributes != null) 'attributes': attributes!,
  if (contents != null) 'contents': contents!,
  if (createTime != null) 'createTime': createTime!,
  if (details != null) 'details': details!,
  if (displayName != null) 'displayName': displayName!,
  if (documentation != null) 'documentation': documentation!,
  if (lintResponse != null) 'lintResponse': lintResponse!,
  if (name != null) 'name': name!,
  if (parsingMode != null) 'parsingMode': parsingMode!,
  if (sourceMetadata != null) 'sourceMetadata': sourceMetadata!,
  if (sourceUri != null) 'sourceUri': sourceUri!,
  if (specType != null) 'specType': specType!,
  if (updateTime != null) 'updateTime': updateTime!,
};