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<String, String?>.from(json['custom'])
              : null),
          welcomeMessages: (json['welcomeMessages'] != null
              ? List<String>.from(json['welcomeMessages'])
              : null),
          photoUrl: json['photoUrl'],
          subject: json['subject']);