toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (instanceId != null) 'instanceId': instanceId!,
      if (instanceName != null) 'instanceName': instanceName!,
      if (virtualMachineConfig != null)
        'virtualMachineConfig': virtualMachineConfig!,
    };