maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult parts(
- List<
MessageContent> value
- List<
- TResult text(
- String value
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(List<MessageContent> value)? parts,
TResult Function(String value)? text,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;