KeyPhrase.fromJson constructor

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

Implementation

factory KeyPhrase.fromJson(Map<String, dynamic> json) {
  return KeyPhrase(
    beginOffset: json['BeginOffset'] as int?,
    endOffset: json['EndOffset'] as int?,
    score: json['Score'] as double?,
    text: json['Text'] as String?,
  );
}