maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult messageView(
    1. ULogCreateMessageMessageMessageView value
    )?,
  2. TResult deletedMessageView(
    1. ULogCreateMessageMessageDeletedMessageView value
    )?,
  3. TResult unknown(
    1. ULogCreateMessageMessageUnknown value
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(ULogCreateMessageMessageMessageView value)? messageView,
  TResult Function(ULogCreateMessageMessageDeletedMessageView value)?
      deletedMessageView,
  TResult Function(ULogCreateMessageMessageUnknown value)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;