PartOfSpeechTag.fromJson constructor

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

Implementation

factory PartOfSpeechTag.fromJson(Map<String, dynamic> json) {
  return PartOfSpeechTag(
    score: json['Score'] as double?,
    tag: (json['Tag'] as String?)?.toPartOfSpeechTagType(),
  );
}