DocumentLabel.fromJson constructor

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

Implementation

factory DocumentLabel.fromJson(Map<String, dynamic> json) {
  return DocumentLabel(
    name: json['Name'] as String?,
    score: json['Score'] as double?,
  );
}