fromJson static method

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

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'],
  );
}