ChatMessage.fromJson constructor

ChatMessage.fromJson(
  1. String source
)

Implementation

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