NameCollisionOption enum Enum

Specifies what to do if a file or folder with the specified name already exists in the current folder when you copy, move, or rename a file or folder.

Inheritance
Implemented types

Constructors

NameCollisionOption(int value)
const
NameCollisionOption.from(int value)
factory

Values

generateUniqueName → const NameCollisionOption
const NameCollisionOption(0)
replaceExisting → const NameCollisionOption
const NameCollisionOption(1)
failIfExists → const NameCollisionOption
const NameCollisionOption(2)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

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

Constants

values → const List<NameCollisionOption>
A constant List of the values in this enum, in order of their declaration.