deleteMessage method

  1. @override
Future<void> deleteMessage(
  1. int messageId
)
override

Implementation

@override
Future<void> deleteMessage(int messageId) async {
  _messages.remove(messageId);
}