createMessage method

Message createMessage(
  1. dynamic data,
  2. bool echo
)

Create a draft of a message without sending it to the server

Implementation

Message createMessage(dynamic data, bool echo) {
  return _tinodeService.createMessage(name ?? '', data, echo);
}