ChatUIKitPreviewObj.fromJson constructor

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

Implementation

factory ChatUIKitPreviewObj.fromJson(Map<String, dynamic> json) {
  return ChatUIKitPreviewObj(
    title: json['title'],
    description: json['description'],
    imageUrl: json['imageUrl'],
    url: json['url'],
  );
}