LowTextContrastIssueDetails.fromJson constructor
LowTextContrastIssueDetails.fromJson(
- Map<String, dynamic> json
)
Implementation
factory LowTextContrastIssueDetails.fromJson(Map<String, dynamic> json) {
return LowTextContrastIssueDetails(
violatingNodeId:
dom.BackendNodeId.fromJson(json['violatingNodeId'] as int),
violatingNodeSelector: json['violatingNodeSelector'] as String,
contrastRatio: json['contrastRatio'] as num,
thresholdAA: json['thresholdAA'] as num,
thresholdAAA: json['thresholdAAA'] as num,
fontSize: json['fontSize'] as String,
fontWeight: json['fontWeight'] as String,
);
}