LayoutConst 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
-
array(Layout elementLayout, int length, {String? property})
→ CustomLayout
-
-
bigintLayout(int length, {String? property, bool sign = false})
→ BigIntLayout
-
-
bitSequenceLayout({String? property})
→ BitSequenceLayout
-
-
blob(dynamic length, {String? property})
→ RawBytesLayout
-
RawBytesLayout values.
-
boolean({String? property, Layout<int>? layout})
→ CustomLayout
-
bool values
-
boolean32({String? property})
→ CustomLayout
-
bool 4 bytes values
-
boolean32Be({String? property})
→ CustomLayout
-
-
bytes({String? property})
→ CompactBytes
-
-
compact(Layout layout, {String? property})
→ CompactLayout
-
-
compactArray(Layout elementLayout, {String? property})
→ CustomLayout
-
-
compactBigint(BigIntLayout layout, {String? property})
→ CompactBigIntLayout
-
-
compactBigintU128({String? property})
→ CompactBigIntLayout
-
-
compactBigintU64({String? property})
→ CompactBigIntLayout
-
-
compactInt(IntegerLayout layout, {String? property})
→ CompactIntLayout
-
-
compactIntU32({String? property})
→ CompactIntLayout
-
-
compactIntU48({String? property})
→ CompactIntLayout
-
-
compactMap<K, V>(Layout keyLayout, Layout valueLayout, {String? property})
→ CustomLayout
-
-
compactOffset({String? property})
→ CompactOffsetLayout
-
-
compactString({String? property})
→ Layout<String>
-
-
compactTuple(List<Layout> layouts, {String? property})
→ TupleCompactLayout
-
-
compactVec<T>(Layout<T> elementLayout, {String? property})
→ CustomLayout<Map<String, dynamic>, List<T>>
-
-
constant(dynamic value, {String? property})
→ ConstantLayout
-
-
cOptionalPublicKey(Layout layout, {String? property, Layout? discriminator})
→ COptionLayout
-
-
enum32Be(List<Layout> variants, {String? property, bool useKeyAndValue = true})
→ CustomLayout<Map<String, dynamic>, Map<String, dynamic>>
-
-
f32({String? property})
→ DoubleLayout
-
DoubleLayout (little-endian 32-bit floating point) values.
-
f32be({String? property})
→ DoubleLayout
-
DoubleLayout (big-endian 32-bit floating point) values.
-
f64({String? property})
→ DoubleLayout
-
DoubleLayout (little-endian 64-bit floating point) values.
-
f64be({String? property})
→ DoubleLayout
-
DoubleLayout (big-endian 64-bit floating point) values.
-
fixedBlob32({String? property})
→ RawBytesLayout
-
-
fixedBlobN(int len, {String? property})
→ RawBytesLayout
-
-
greedy({int elementSpan = 1, String? property})
→ GreedyCount
-
GreedyCount.
-
greedyArray(Layout elementLayout, {String? property})
→ CustomLayout
-
-
i128({String? property})
→ BigIntLayout
-
BigIntLayout (little-endian signed int layouts) interpreted as Numbers.
-
i16({String? property})
→ IntegerLayout
-
IntegerLayout (little-endian unsigned int layouts) spanning two bytes.
-
i24({String? property})
→ IntegerLayout
-
IntegerLayout (little-endian unsigned int layouts) spanning three bytes.
-
i32({String? property})
→ IntegerLayout
-
IntegerLayout (little-endian unsigned int layouts) spanning four bytes.
-
i40({String? property})
→ IntegerLayout
-
IntegerLayout (little-endian unsigned int layouts) spanning five bytes.
-
i48({String? property})
→ IntegerLayout
-
IntegerLayout (little-endian unsigned int layouts) spanning six bytes.
-
i64({String? property})
→ BigIntLayout
-
BigIntLayout (little-endian signed int layouts) interpreted as Numbers.
-
i8({String? property})
→ IntegerLayout
-
IntegerLayout (signed int layouts) spanning one byte.
-
intLayout(int length, {String? property, bool sign = false})
→ IntegerLayout
-
-
lazyEnum(List<LazyVariantModel> variants, {IntegerLayout? discriminant, String? property, bool useKeyAndValue = true})
→ CustomLayout<Map<String, dynamic>, Map<String, dynamic>>
-
-
lazyEnumS32Be(List<LazyVariantModel> variants, {required String? property, bool useKeyAndValue = true})
→ CustomLayout<Map<String, dynamic>, Map<String, dynamic>>
-
-
lazyEnumU32Be(List<LazyVariantModel> variants, {required String? property, bool useKeyAndValue = true})
→ CustomLayout<Map<String, dynamic>, Map<String, dynamic>>
-
-
lazyStruct(List<BaseLazyLayout> fields, {String? property, bool decodePrefixes = false})
→ LazyStructLayout
-
-
map(Layout keyLayout, Layout valueLayout, {String? property})
→ CustomLayout
-
map values
-
nameWithProperty(String name, Layout? lo)
→ String
-
-
noArgs({String? property})
→ StructLayout
-
-
none({String? property})
→ NoneLayout
-
no data values
-
ns64({String? property})
→ BigIntLayout
-
BigIntLayout (little-endian signed int layouts) interpreted as Numbers.
-
nu64({String? property})
→ BigIntLayout
-
BigIntLayout (little-endian unsigned int layouts) interpreted as Numbers.
-
offset(PaddingLayout<int> layout, int offset, {String? property})
→ OffsetLayout
-
OffsetLayout.
-
optional(Layout layout, {String? property, bool keepSize = false, BaseIntiger? discriminator})
→ OptionalLayout
-
OptionalLayout
-
optionalU32Be(Layout layout, {String? property, bool keepSize = false})
→ OptionalLayout
-
-
optionU64({String? property})
→ OptionalLayout
-
optional BigIntLayout (little-endian unsigned int layouts) interpreted as Numbers.
-
padding<T>(BaseIntiger<T> layout, {String? propery})
→ PaddingLayout<T>
-
-
rustEnum(List<Layout> variants, {Layout? discriminant, String? property, bool useKeyAndValue = true})
→ CustomLayout<Map<String, dynamic>, Map<String, dynamic>>
-
enum values
-
rustString({String? property})
→ dynamic
-
Rust String values.
-
rustVec(Layout elementLayout, {String? property})
→ CustomLayout
-
factory for Rust vectors
-
rustVecOffset({String? property})
→ OffsetLayout
-
-
rustVecU8({String? property})
→ CustomLayout
-
Rust vector values
-
s16({String? property})
→ IntegerLayout
-
IntegerLayout (little-endian signed int layouts) spanning two bytes.
-
s16be({String? property})
→ IntegerLayout
-
IntegerLayout (big-endian signed int layouts) spanning two bytes.
-
s24({String? property})
→ IntegerLayout
-
IntegerLayout (little-endian signed int layouts) spanning three bytes.
-
s24be({String? property})
→ IntegerLayout
-
IntegerLayout (big-endian signed int layouts) spanning three bytes.
-
s32({String? property})
→ IntegerLayout
-
IntegerLayout (little-endian signed int layouts) spanning four bytes.
-
s32be({String? property})
→ IntegerLayout
-
IntegerLayout (big-endian signed int layouts) spanning four bytes.
-
s40({String? property})
→ IntegerLayout
-
IntegerLayout (little-endian signed int layouts) spanning five bytes.
-
s40be({String? property})
→ IntegerLayout
-
IntegerLayout (big-endian signed int layouts) spanning five bytes.
-
s48({String? property})
→ IntegerLayout
-
IntegerLayout (little-endian signed int layouts) spanning six bytes.
-
s48be({String? property})
→ IntegerLayout
-
IntegerLayout (big-endian signed int layouts) spanning six bytes.
-
s64be({String? property})
→ BigIntLayout
-
BigIntLayout (big-endian signed int layouts) interpreted as Numbers.
-
s8({String? property})
→ IntegerLayout
-
IntegerLayout (signed int layouts) spanning one byte.
-
seq<T>(Layout elementLayout, Layout count, {String? property})
→ SequenceLayout
-
SequenceLayout values.
-
string({String? property})
→ CustomLayout
-
String values
-
struct(List<Layout> fields, {String? property, bool decodePrefixes = false})
→ StructLayout
-
StructLayout values.
-
tuple(List<Layout> layouts, {String? property})
→ TupleLayout
-
tuple values
-
u128({String? property})
→ BigIntLayout
-
BigIntLayout (little-endian unsigned int layouts) interpreted as Numbers.
-
u16({String? property})
→ IntegerLayout
-
IntegerLayout (little-endian unsigned int layouts) spanning two bytes.
-
u16be({String? property})
→ IntegerLayout
-
IntegerLayout (big-endian unsigned int layouts) spanning two bytes.
-
u24({String? property})
→ IntegerLayout
-
IntegerLayout (little-endian unsigned int layouts) spanning three bytes.
-
u24be({String? property})
→ IntegerLayout
-
IntegerLayout (big-endian unsigned int layouts) spanning three bytes.
-
u32({String? property})
→ IntegerLayout
-
IntegerLayout (little-endian unsigned int layouts) spanning four bytes.
-
u32be({String? property})
→ IntegerLayout
-
IntegerLayout (big-endian unsigned int layouts) spanning four bytes.
-
u40({String? property})
→ IntegerLayout
-
IntegerLayout (little-endian unsigned int layouts) spanning five bytes.
-
u40be({String? property})
→ IntegerLayout
-
IntegerLayout (big-endian unsigned int layouts) spanning five bytes.
-
u48({String? property})
→ IntegerLayout
-
IntegerLayout (little-endian unsigned int layouts) spanning six bytes.
-
u48be({String? property})
→ IntegerLayout
-
IntegerLayout (big-endian unsigned int layouts) spanning six bytes.
-
u64({String? property})
→ BigIntLayout
-
BigIntLayout (little-endian unsigned int layouts) interpreted as Numbers.
-
u64be({String? property})
→ BigIntLayout
-
BigIntLayout (big-endian unsigned int layouts) interpreted as Numbers.
-
u8({String? property})
→ IntegerLayout
-
IntegerLayout (unsigned int layouts) spanning one byte.
-
union(dynamic discr, {Layout? defaultLayout, String? property})
→ Union
-
Union values.
-
unionLayoutDiscriminator(ExternalLayout layout, {String? property})
→ UnionLayoutDiscriminatorLayout
-
UnionLayoutDiscriminatorLayout values.
-
vec(Layout elementLayout, {String? property, IntegerLayout? lengthSizeLayout})
→ CustomLayout
-
vectors
-
vecU8({String? property, IntegerLayout? lengthSizeLayout})
→ CustomLayout
-
vector bytes
-
wrap(Layout layout, {String? property})
→ Layout
-
wrap layouts for property handling
-
xdrString({String? property})
→ Layout<String>
-
-
xdrVec(Layout elementLayout, {String? property})
→ CustomLayout
-
-
xdrVecBytes({String? property})
→ Layout<List<int>>
-