maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult put(
    1. StreamEventPut value
    )?,
  2. TResult patch(
    1. StreamEventPatch value
    )?,
  3. TResult authRevoked(
    1. StreamEventAuthRevoked value
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(StreamEventPut value)? put,
  TResult Function(StreamEventPatch value)? patch,
  TResult Function(StreamEventAuthRevoked value)? authRevoked,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;