when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult reset(),
  2. required TResult search(
    1. String code,
    2. int boundaryNum
    ),
  3. required TResult select(
    1. String label,
    2. BoundaryModel selectedBoundary
    ),
  4. required TResult findBoundary(
    1. String code
    ),
  5. required TResult submit(),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function() reset,
  required TResult Function(String code, int boundaryNum) search,
  required TResult Function(String label, BoundaryModel selectedBoundary)
      select,
  required TResult Function(String code) findBoundary,
  required TResult Function() submit,
}) =>
    throw _privateConstructorUsedError;