toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cpus != null) 'cpus': cpus!,
      if (localSsd != null) 'localSsd': localSsd!,
      if (memory != null) 'memory': memory!,
    };