SolidFormattingSet.fromJson constructor
Implementation
factory SolidFormattingSet.fromJson(Map<String, dynamic> json) {
return SolidFormattingSet(
lowerThreshold: _parseDouble(json['lower_threshold']) ?? 0.0,
higherThreshold: _parseDouble(json['higher_threshold']) ?? 100.0,
color: json['color']?.toString() ?? '#FFFFFF',
);
}