toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final prompt = this.prompt;
  final rejectionStatement = this.rejectionStatement;
  return {
    'prompt': prompt,
    'rejectionStatement': rejectionStatement,
  };
}