maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult messageView(
- MessageView data
- TResult deletedMessageView(
- DeletedMessageView data
- TResult unknown()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(MessageView data)? messageView,
TResult Function(DeletedMessageView data)? deletedMessageView,
TResult Function(Map<String, dynamic> data)? unknown,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;