ImportResult typedef

ImportResult = ({Future<int> complete, Future<StoresToStates> storesToStates})

The result of RootExternal.import

storesToStates will complete when the final store names become available. See StoresToStates for more information.

complete will complete when the import is complete, with the number of imported/overwritten tiles.

Implementation

typedef ImportResult = ({
  Future<StoresToStates> storesToStates,
  Future<int> complete,
});