ChatMessage.fromJson constructor

ChatMessage.fromJson(
  1. Map<String, dynamic> json
)

Constructs a ChatMessage from the provided json.

Implementation

factory ChatMessage.fromJson(Map<String, dynamic> json) =>
    _$ChatMessageFromJson(json);