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