toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final vmId = this.vmId;
  final vmManagerId = this.vmManagerId;
  return {
    if (vmId != null) 'vmId': vmId,
    if (vmManagerId != null) 'vmManagerId': vmManagerId,
  };
}