toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (availablePackage != null)
'availablePackage': availablePackage!.toJson(),
if (createTime != null) 'createTime': createTime!,
if (id != null) 'id': id!,
if (installedPackage != null)
'installedPackage': installedPackage!.toJson(),
if (originType != null) 'originType': originType!,
if (type != null) 'type': type!,
if (updateTime != null) 'updateTime': updateTime!,
};