maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult recordView(
    1. UMessageViewEmbedRecordView value
    )?,
  2. TResult unknown(
    1. UMessageViewEmbedUnknown value
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(UMessageViewEmbedRecordView value)? recordView,
  TResult Function(UMessageViewEmbedUnknown value)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;