toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (aptPackage != null) 'aptPackage': aptPackage!.toJson(),
      if (cosPackage != null) 'cosPackage': cosPackage!.toJson(),
      if (googetPackage != null) 'googetPackage': googetPackage!.toJson(),
      if (qfePackage != null) 'qfePackage': qfePackage!.toJson(),
      if (windowsApplication != null)
        'windowsApplication': windowsApplication!.toJson(),
      if (wuaPackage != null) 'wuaPackage': wuaPackage!.toJson(),
      if (yumPackage != null) 'yumPackage': yumPackage!.toJson(),
      if (zypperPackage != null) 'zypperPackage': zypperPackage!.toJson(),
      if (zypperPatch != null) 'zypperPatch': zypperPatch!.toJson(),
    };