FluidFactory<T extends Fluid> class abstract

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.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 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