toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final context = this.context;
  final instruction = this.instruction;
  final prediction = this.prediction;
  final reference = this.reference;
  return {
    'context': ?context,
    'instruction': ?instruction,
    'prediction': ?prediction,
    'reference': ?reference,
  };
}