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