ModelTextMessage.fromJson constructor

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

The factory method for the text message from the json.

Implementation

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