fromJson static method
Implementation
static HorizontalLineTool fromJson(Map<String, dynamic> json) {
return HorizontalLineTool(
id: json['id'],
yPosition: json['yPosition'],
priceLevel: json['priceLevel'],
color: Color(json['color']),
strokeWidth: json['strokeWidth'],
);
}