fetch method

  1. @override
Future<HintTour> fetch(
  1. String id
)
override

Implementation

@override
Future<HintTour> fetch(String id) async {
  final t = _tours[id];
  if (t == null) throw StateError('tour $id not found');
  return t;
}