TriangleUtils class Null safety

Triangle Utils

Constructors

TriangleUtils()

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

area(List<Point<num>> triangle) double
get area of a triangle
getBaseLine(List<Point<num>> triangle) Line
Get the base line of triangle
getHeight(List<Point<num>> triangle) double
Get the height of a triangle
perimeter(List<Point<num>> triangle) double
get perimeter of a triangle