FileOptions class final
Constructors
- FileOptions({FileMode mode = FileMode.read, bool create = true, bool truncate = false, bool exclusive = false, bool direct = false, Durability durability = Durability.none, PerformanceProfile profile = PerformanceProfile.auto, int readAhead = 0})
-
const
Properties
- create → bool
-
final
- direct → bool
-
final
- durability → Durability
-
final
- exclusive → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mode → FileMode
-
final
- profile → PerformanceProfile
-
final
- readAhead → int
-
final
- readOnly → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- truncate → bool
-
final
- writable → bool
-
no setter
Methods
-
copyWith(
{FileMode? mode, bool? create, bool? truncate, bool? exclusive, bool? direct, Durability? durability, PerformanceProfile? profile, int? readAhead}) → FileOptions -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited