LinkStyle.fromJson constructor
Implementation
LinkStyle.fromJson(Map<String, dynamic> json)
: lineType = LineType.values[json['line_type']],
arrowType = ArrowType.values[json['arrow_type']],
backArrowType = ArrowType.values[json['back_arrow_type']],
arrowSize = json['arrow_size'],
backArrowSize = json['back_arrow_size'],
lineWidth = json['line_width'],
color = Color(int.parse(json['color'], radix: 16));