maybeWhen<TResult extends Object?> method

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

Implementation

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