toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (apt != null) 'apt': apt!,
      if (deb != null) 'deb': deb!,
      if (desiredState != null) 'desiredState': desiredState!,
      if (googet != null) 'googet': googet!,
      if (msi != null) 'msi': msi!,
      if (rpm != null) 'rpm': rpm!,
      if (yum != null) 'yum': yum!,
      if (zypper != null) 'zypper': zypper!,
    };