FollowUpPrompt.fromJson constructor

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

Implementation

factory FollowUpPrompt.fromJson(Map<String, dynamic> json) {
  return FollowUpPrompt(
    prompt: Prompt.fromJson(json['prompt'] as Map<String, dynamic>),
    rejectionStatement: Statement.fromJson(
        json['rejectionStatement'] as Map<String, dynamic>),
  );
}