ConversationData.fromJson constructor

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

Implementation

ConversationData.fromJson(Map<String, dynamic> json)
  : super(
      id: json['id'],
      custom: (json['custom'] != null ? Map.from(json['custom']) : null),
      welcomeMessages: (json['welcomeMessages'] != null
          ? List.from(json['welcomeMessages'])
          : null),
      photoUrl: json['photoUrl'],
      subject: json['subject'],
    );