FluidFactory<T extends Fluid> class Null safety

Fluid factories are responsible for creating fluids. They are the glue between arguments and the logic to create them.

Constructors

FluidFactory()

Properties

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

Methods

createFluid(FluidContainer container) → T
Create the fluid for this factory. This method is invoked by the FluidResolver and the FluidContainer is provided by the resolver.
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