toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final confidence = this.confidence;
  final endOffset = this.endOffset;
  final startOffset = this.startOffset;
  final word = this.word;
  return {
    'confidence': ?confidence,
    'endOffset': ?endOffset,
    'startOffset': ?startOffset,
    'word': ?word,
  };
}