StoresToStates typedef

StoresToStates = Map<String, ({bool hadConflict, String? name})>

A mapping of the original store name (as exported), to:

  • its new store name (as will be used to import), or null if ImportConflictStrategy.skip was set (meaning it won't be importing)
  • whether it hadConflict with an existing store

Used in ImportResult.

Implementation

typedef StoresToStates = Map<String, ({String? name, bool hadConflict})>;