ImportConflictStrategy enum

Determines what action should be taken when an importing store conflicts with an existing store of the same name

See documentation on individual values for more information.

Inheritance

Constructors

ImportConflictStrategy()
const

Values

skip → const ImportConflictStrategy

Skips the importing of the store

replace → const ImportConflictStrategy

Entirely replaces the existing store with the importing store

Tiles from the existing store are deleted if they become orphaned (and do not belong to the importing store).

rename → const ImportConflictStrategy

Renames the importing store by appending it with the current date & time (which should be unique in all reasonable usecases)

All tiles are retained. In the event of a conflict between two tiles, only the one modified most recently is retained.

merge → const ImportConflictStrategy

Merges the importing and existing stores' tiles and metadata together

All tiles are retained. In the event of a conflict between two tiles, only the one modified most recently is retained.

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

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<ImportConflictStrategy>
A constant List of the values in this enum, in order of their declaration.