ChatMessage.fromRawJson constructor

ChatMessage.fromRawJson(
  1. String str
)

Implementation

factory ChatMessage.fromRawJson(String str) =>
    ChatMessage.fromJson(json.decode(str) as Map<String, dynamic>);