toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (createTime != null) 'createTime': createTime!,
if (deleteTime != null) 'deleteTime': deleteTime!,
if (deprecationMessage != null)
'deprecationMessage': deprecationMessage!,
if (hash != null) 'hash': hash!,
if (id != null) 'id': id!,
if (name != null) 'name': name!,
if (ref != null) 'ref': ref!,
if (releaseNotes != null) 'releaseNotes': releaseNotes!,
if (sourceDownloadUri != null) 'sourceDownloadUri': sourceDownloadUri!,
if (spec != null) 'spec': spec!,
if (state != null) 'state': state!,
};