editMessage method

  1. @override
Future<MessageModel?> editMessage({
  1. required int messageId,
  2. required String data,
})
override

Implementation

@override
Future<MessageModel?> editMessage({
  required int messageId,
  required String data,
}) async {
  return await _messageRepository.editMessage(
    messageId: messageId,
    data: data,
  );
}