Line class

x and y are different from mathematical coordinates. they are the exact opposite! Check the example below CornerPoint0{x=0, y=1} CornerPoint1{x=0, y=0} CornerPoint3{x=1, y=1} CornerPoint2{x=1, y=0}

Constructors

Line({String? text, List<CornerPoint>? cornerList})
Line.fromJson(Map<String, dynamic> json)

Properties

cornerList ↔ List<CornerPoint>?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text ↔ String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited