toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (deviceName != null) 'deviceName': deviceName!,
      if (gcs != null) 'gcs': gcs!,
      if (mountOptions != null) 'mountOptions': mountOptions!,
      if (mountPath != null) 'mountPath': mountPath!,
      if (nfs != null) 'nfs': nfs!,
    };