Rectangle class

Inheritance
Annotations
  • @AckModel.new(discriminatedValue: 'rectangle')

Constructors

Rectangle({required double width, required double height})

Properties

area double
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
height double
final
kind String
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double
final

Methods

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

Operators

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