toJson method
Implementation
@visibleForTesting
Map<String, dynamic> toJson() => {
      "matchedFaces": matchedFaces.map((e) => e.toJson()).toList(),
      "unmatchedFaces": unmatchedFaces.map((e) => e.toJson()).toList(),
    }.clearNulls();@visibleForTesting
Map<String, dynamic> toJson() => {
      "matchedFaces": matchedFaces.map((e) => e.toJson()).toList(),
      "unmatchedFaces": unmatchedFaces.map((e) => e.toJson()).toList(),
    }.clearNulls();