NodePrototype class final
A node prototype is the blueprint for a node instance.
It defines the name, description, color, ports, fields, and onExecute function.
Constructors
-
NodePrototype({required String idName, required String displayName, String description = '', FlNodeStyleBuilder styleBuilder = defaultNodeStyle, FlNodeHeaderStyleBuilder headerStyleBuilder = defaultNodeHeaderStyle, List<
PortPrototype> ports = const [], List<FieldPrototype> fields = const [], required OnExecute onExecute})
Properties
- description → String
-
final
- displayName → String
-
final
-
fields
→ List<
FieldPrototype> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerStyleBuilder → FlNodeHeaderStyleBuilder
-
final
- idName → String
-
final
- onExecute → OnExecute
-
final
-
ports
→ List<
PortPrototype> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- styleBuilder → FlNodeStyleBuilder
-
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