Canister class

Constructors

Canister(Principal principal)

Properties

hashCode int
The hash code for this object.
no setteroverride
principal Principal
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call({required CallType calltype, required String method_name, Uint8List? put_bytes, Caller? caller, List<Legation> legations = const [], Duration timeout_duration = const Duration(minutes: 5)}) Future<Uint8List>
candid_service_metadata() Future<String>
controllers() Future<List<Principal>>
metadata(String name, {Caller? caller, List<Legation> legations = const []}) Future<Uint8List>
module_hash() Future<Uint8List>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
state({required List<List> paths, Client? httpclient, Caller? caller, List<Legation> legations = const [], Principal? fective_canister_id}) Future<List>
toString() String
A string representation of this object.
override

Operators

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

Static Properties

base_path_segments List<String>
final