whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<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
      )
    )?,
})
inherited

Implementation

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