Woo class

A concrete implementation of Human that is always an Angel.

Inheritance
Implemented types

Constructors

Woo({required String name, required int age})
Creates a Woo with the given name and age.
const
Woo.birth({required String name, required int age})
Gives birth to a Woo from the given name and age. There are rules!
factory

Properties

age → int
The human's age in whole years.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
hasWings → bool
Woo is an angel with wings!
no setteroverride
isAngel → bool
Woo is an angel!
no setteroverride
isGoodDev → bool
Woo is a good dev!
no setteroverride
name → String
The human's display name.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sayGoodbye() → void
Woo is polite, he says goodbye!
sayHello() → void
Woo is polite, he says hello!
override
toString() → String
A string representation of this object.
inherited

Operators

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