ImplementedType class

Constructors

ImplementedType({required String scriptName, required String interfaceTypeName, required List<ImplementedTypeProperty> inputs, required List<ImplementedTypeProperty> outputs, required List<String> userTypeNames, required List<String> dependencies, required List<String> implementedMethods, String formatName = '', List<String> formatExtensions = const [], List<ImplementedProtocolClass> protocolClasses = const []})

Properties

dependencies → List<String>
Direct dependencies (requires) for this module.
final
formatExtensions → List<String>
final
formatName → String
FileFormat protocol scripts only: display name and claimed file extensions read from the generator's returned table. Empty otherwise.
final
hashCode → int
The hash code for this object.
no setterinherited
implementedMethods → List<String>
Optional script methods (init/draw/advance/...) present on the generator's returned table, detected by the workspace executing the generator and probing the returned table. Empty if the generator could not be executed.
final
inputs → List<ImplementedTypeProperty>
final
interfaceTypeName → String
final
outputs → List<ImplementedTypeProperty>
final
protocolClasses → List<ImplementedProtocolClass>
Each class of a script that exports several, with its own protocol.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scriptName → String
final
userTypeNames → List<String>
Every exported protocol class; the first is the one the script asset binds, see routedTo.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
routedTo(String? interfaceTypeName) → ImplementedType
A script exporting several classes bound to the one whose protocol is interfaceTypeName: that class comes first and the report carries its protocol, hooks and inputs. Without a match the first class stays.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

read(BinaryReader reader) → ImplementedType?