toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'violatingNodeId': violatingNodeId.toJson(),
'violatingNodeSelector': violatingNodeSelector,
'contrastRatio': contrastRatio,
'thresholdAA': thresholdAA,
'thresholdAAA': thresholdAAA,
'fontSize': fontSize,
'fontWeight': fontWeight,
};
}