FakeTourStorage constructor

FakeTourStorage({
  1. Set<String>? completed,
  2. Map<String, int>? indices,
})

Creates a storage pre-loaded with completed tours and indices.

Implementation

FakeTourStorage({
  Set<String>? completed,
  Map<String, int>? indices,
})  : completed = <String>{...?completed},
      indices = <String, int>{...?indices};