toJson method

Map<String, dynamic> toJson()

Implementation

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