VolumeMount constructor
const
VolumeMount({})
Creates a new VolumeMount.
mountPath Path within the container at which the volume should be mounted. Must not contain ':'.
name The name of the volume. There must be a corresponding Volume with the same name.
readOnly Sets the mount to be read-only or read-write. Not used by Cloud Run.
subPath Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
Implementation
const VolumeMount({
required this.mountPath,
required this.name,
this.readOnly,
this.subPath,
});