Bcs class
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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
boolean([BcsTypeOptions<bool, bool>? options])
→ BcsType<bool, dynamic>
-
-
bytes(int size, [BcsTypeOptions<Uint8List, Iterable<int>>? options])
→ BcsType<Uint8List, Uint8List>
-
-
enumeration(String name, Map<String, BcsType?> values, [BcsTypeOptions<Map<String, dynamic>, Map<String, dynamic>>? options])
→ BcsType<Map<String, dynamic>, dynamic>
-
-
fixedArray<T, Input>(int size, BcsType<T, Input> type, [BcsTypeOptions<List<T>, Iterable<Input>>? options])
→ BcsType<List<T>, Iterable<Input>>
-
-
lazy<T, Input>(BcsType<T, Input> cb())
→ BcsType<T, Input>
-
-
map<K, V, InputK, InputV>(BcsType<K, InputK> keyType, BcsType<V, InputV> valueType)
→ BcsType<Map<K, V>, Map<InputK, InputV>>
-
-
option<T, Input>(BcsType<T, Input> type)
→ BcsType<T?, Input?>
-
-
string([BcsTypeOptions<String, String>? options])
→ BcsType<String, dynamic>
-
-
struct(String name, Map<String, BcsType> fields, [BcsTypeOptions<Map<String, dynamic>, Map<String, dynamic>>? options])
→ BcsType<Map<String, dynamic>, dynamic>
-
-
tuple(List<BcsType> types, [BcsTypeOptions<List, List>? options])
→ BcsType<List, List>
-
-
u128([BcsTypeOptions<String, dynamic>? options])
→ BcsType<BigInt, dynamic>
-
-
u16([BcsTypeOptions<int, int>? options])
→ BcsType<int, dynamic>
-
-
u256([BcsTypeOptions<String, dynamic>? options])
→ BcsType<BigInt, dynamic>
-
-
u32([BcsTypeOptions<int, int>? options])
→ BcsType<int, dynamic>
-
-
u64([BcsTypeOptions<String, dynamic>? options])
→ BcsType<BigInt, dynamic>
-
-
u8([BcsTypeOptions<int, int>? options])
→ BcsType<int, dynamic>
-
-
uleb128([BcsTypeOptions<int, int>? options])
→ BcsType<int, int>
-
-
vector<T, Input>(BcsType<T, Input> type, [BcsTypeOptions<List<T>, Iterable<Input>>? options])
→ BcsType<List<T>, dynamic>
-