BaseMessage.fromString constructor

BaseMessage.fromString(
  1. String payload
)

Implementation

factory BaseMessage.fromString(String payload) =>
    BaseMessage.fromJson(json.decode(payload));