# LineSegmentFloat.fromJson constructor

LineSegmentFloat.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory LineSegmentFloat.fromJson(Map<String, dynamic> json) =>
        LineSegmentFloat(
          start: Point<double>(
              ((json["start"] as Map<String, dynamic>)["x"] as num).toDouble(),
              ((json["start"] as Map<String, dynamic>)["y"] as num).toDouble()),
          end: Point<double>(
              ((json["end"] as Map<String, dynamic>)["x"] as num).toDouble(),
              ((json["end"] as Map<String, dynamic>)["y"] as num).toDouble()),
        );