NewMessageThreadModel.fromJson constructor

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

Implementation

factory NewMessageThreadModel.fromJson(Map<String, dynamic> json) => NewMessageThreadModel(
  messages: List<Message>.from(json["messages"].map((x) => Message.fromJson(x))),
);