BcsConfig class

Configuration that is passed into BCS constructor.

Constructors

BcsConfig({required String vectorType, required int addressLength, String? fixedArrayType, Encoding? addressEncoding, (String, String)? genericSeparators, BcsConfigTypes? types, bool? withPrimitives})

Properties

addressEncoding ↔ Encoding?
Custom encoding for address. Supported values are either 'hex' or 'base64'.
getter/setter pair
addressLength ↔ int
Address length. Varies depending on a platform and has to be specified for the address type.
getter/setter pair
fixedArrayType ↔ String?
getter/setter pair
genericSeparators ↔ (String, String)?
Opening and closing symbol for type parameters. Can be any pair of symbols (eg ['(', ')']); default value follows Rust and Move: < and >.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
types ↔ BcsConfigTypes?
Type definitions for the BCS. This field allows spawning BCS instance from JSON or another prepared configuration. Optional.
getter/setter pair
vectorType ↔ String
Defines type name for the vector / array type. In Move: vector<T> or vector.
getter/setter pair
withPrimitives ↔ bool?
Whether to auto-register primitive types on launch.
getter/setter pair

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