fetch method

  1. @override
Future<LandscapeSelectorDoc> fetch()
override

Implementation

@override
Future<LandscapeSelectorDoc> fetch() async {
  fetchCount += 1;
  if (error != null) {
    throw error!;
  }
  return doc ?? (throw StateError('no landscape doc scripted'));
}