MountBindOptions class

Constructors

MountBindOptions({MountBindOptionsPropagationEnum? propagation, bool nonRecursive = false, bool createMountpoint = false, bool readOnlyNonRecursive = false, bool readOnlyForceRecursive = false})
Returns a new MountBindOptions instance.

Properties

createMountpoint bool
Create mount point on host if missing
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
nonRecursive bool
Disable recursive bind mount.
getter/setter pair
propagation MountBindOptionsPropagationEnum?
A propagation mode with the value [r]private, [r]shared, or [r]slave.
getter/setter pair
readOnlyForceRecursive bool
Raise an error if the mount cannot be made recursively read-only.
getter/setter pair
readOnlyNonRecursive bool
Make the mount non-recursively read-only, but still leave the mount recursive (unless NonRecursive is set to true in conjunction).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromJson(dynamic value) MountBindOptions?
Returns a new MountBindOptions instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<MountBindOptions>
mapFromJson(dynamic json) Map<String, MountBindOptions>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<MountBindOptions>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.