DiagnosticInfo.fromJson constructor

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

Implementation

DiagnosticInfo.fromJson(Map<String, dynamic> json) {
  maskScore = json['maskScore'];
  brightness = json['brightness'];
  contrast = json['contrast'];
  sharpness = json['sharpness'];
}