FaceMatching.fromJson constructor

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

Implementation

factory FaceMatching.fromJson(Map<String, dynamic> json) => FaceMatching(
      notes: json['notes'] ?? '',
      isSuccessful: json['is_successful'] ?? false,
      matchingScore: json['matching_score'] ?? 0,
      thresholdUsed: json['threshold_used'] ?? 0,
    );