MessageResponseData.text constructor

MessageResponseData.text(
  1. Map<String, dynamic> json
)

Implementation

factory MessageResponseData.text(Map<String, dynamic> json) {
  return MessageResponseData(
      message: json["message"] ?? "", title: json["title"] ?? "");
}