Script class abstract
Script
Properties:
- scriptHash - Script hash
- type - Type of the script language
- serialisedSize - The size of the CBOR serialised script, if a Plutus script
- Annotations
-
- @BuiltValue()
Constructors
- Script([void updates(ScriptBuilder b)])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scriptHash → String
-
Script hash
no setter
- serialisedSize → int?
-
The size of the CBOR serialised script, if a Plutus script
no setter
- type → ScriptTypeEnum
-
Type of the script language
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(ScriptBuilder)) → Script -
Rebuilds the instance.
inherited
-
toBuilder(
) → ScriptBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
Script> -
no setter