PresenceMessage.fromString constructor

PresenceMessage.fromString(
  1. String payload
)

Implementation

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