SchematicPoint.fromJson constructor
Create a SchematicPoint from JSON data.
Implementation
factory SchematicPoint.fromJson(Map<String, dynamic> json) => SchematicPoint(
(json['x'] as num?)?.toDouble() ?? 0.0,
(json['y'] as num?)?.toDouble() ?? 0.0,
);