ChatSourcePublicServiceAnnouncement.fromJson constructor

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

Parse from a json

Implementation

factory ChatSourcePublicServiceAnnouncement.fromJson(
        Map<String, dynamic> json) =>
    ChatSourcePublicServiceAnnouncement(
      type: json['type'],
      text: json['text'],
    );