Quadrilateral.fromJSON constructor

Quadrilateral.fromJSON(
  1. Map<String, dynamic> json
)

Implementation

Quadrilateral.fromJSON(Map<String, dynamic> json)
    : this(Point.fromJSON(json['topLeft']), Point.fromJSON(json['topRight']), Point.fromJSON(json['bottomRight']),
          Point.fromJSON(json['bottomLeft']));