FruitCategory class Null safety

Constructors

FruitCategory(Fruit value, [Iterable<FruitCategory>? children])

Properties

children Set<FruitCategory>
read / write
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

addChild(FruitCategory newChild) → void
getChild(Fruit childValue) Future<FruitCategory?>
getChildren() Stream
getLabel(dynamic language) String
getParents() Stream
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