maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult applePay(
    1. String orderTypeIdentifier,
    2. String orderIdentifier,
    3. String webServiceUrl,
    4. String authenticationToken,
    )?,
  2. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(String orderTypeIdentifier, String orderIdentifier,
          String webServiceUrl, String authenticationToken)?
      applePay,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;