maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult aes(
    1. AesSuccessActionDataResult result
    )?,
  2. TResult message(
    1. MessageSuccessActionData data
    )?,
  3. TResult url(
    1. UrlSuccessActionData data
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(AesSuccessActionDataResult result)? aes,
  TResult Function(MessageSuccessActionData data)? message,
  TResult Function(UrlSuccessActionData data)? url,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;