toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (awsEc2Details != null) 'awsEc2Details': awsEc2Details!,
      if (azureVmDetails != null) 'azureVmDetails': azureVmDetails!,
      if (genericDetails != null) 'genericDetails': genericDetails!,
      if (physicalDetails != null) 'physicalDetails': physicalDetails!,
      if (vmwareDetails != null) 'vmwareDetails': vmwareDetails!,
    };