ChatViewAttachment.fromJson constructor

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

Implementation

ChatViewAttachment.fromJson(Map<String, dynamic> json)
    : url = json['url'],
      type = json['type'],
      caption = json['caption'];