whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? decrypted(
    1. AesSuccessActionDataDecrypted data
    )?,
  2. TResult? errorStatus(
    1. String reason
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(AesSuccessActionDataDecrypted data)? decrypted,
  TResult? Function(String reason)? errorStatus,
}) =>
    throw _privateConstructorUsedError;