PiiEntity.fromJson constructor
Implementation
factory PiiEntity.fromJson(Map<String, dynamic> json) {
return PiiEntity(
beginOffset: json['BeginOffset'] as int?,
endOffset: json['EndOffset'] as int?,
score: json['Score'] as double?,
type: (json['Type'] as String?)?.toPiiEntityType(),
);
}