IDL 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

Operators

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

Static Methods

decode(List<CType> retTypes, Uint8List bytes) List
encode(List<CType> argTypes, List args) BinaryBlob
Func(List<CType> argTypes, List<CType> retTypes, List<String> annotations) FuncClass
Opt<T>(CType<T> type) OptClass<T>
Rec<T>() RecClass<T>
Record(Map? fields) RecordClass
Service(Map<String, FuncClass> fields) ServiceClass
Tuple(List<CType> components) TupleClass<List>
Variant(Map<String, CType> fields) VariantClass
Vec<T>(CType<T> type) VecClass<T>

Constants

Bool → const BoolClass
Empty → const EmptyClass
Float32 → const FloatClass
Float64 → const FloatClass
Int → const IntClass
Int8 → const FixedIntClass
Int16 → const FixedIntClass
Int32 → const FixedIntClass
Int64 → const FixedIntClass
Nat → const NatClass
Nat8 → const FixedNatClass
Nat16 → const FixedNatClass
Nat32 → const FixedNatClass
Nat64 → const FixedNatClass
Null → const NullClass
Principal → const PrincipalClass
Reserved → const ReservedClass
Text → const TextClass