LineStyleSpec.fromJson constructor
Implementation
factory LineStyleSpec.fromJson(Map<String, dynamic> j) => LineStyleSpec(
type: j['type']?.toString() ?? 'solid',
width: _readDouble(j['width'], 2.0),
dash: (j['dash'] as List? ?? [8, 4])
.map<double>((v) => _readDouble(v))
.toList(),
);