maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult httpStub(
    1. String responseStubValue,
    2. int? statusCodeStubValue,
    3. Map<String, String> headersStubValue
    )?,
  2. TResult genericStub(
    1. void setUp(
      1. dynamic
      )
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(String responseStubValue, int? statusCodeStubValue,
          Map<String, String> headersStubValue)?
      httpStub,
  TResult Function(void Function(dynamic) setUp)? genericStub,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;