toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (diskInterface != null) 'diskInterface': diskInterface!,
      if (image != null) 'image': image!,
      if (sizeGb != null) 'sizeGb': sizeGb!,
      if (snapshot != null) 'snapshot': snapshot!,
      if (type != null) 'type': type!,
    };