of_the_record static method
Implementation
static Icrc1Account of_the_record(Record r) {
Vector? blob = r.find_option<Vector>('subaccount');
Uint8List? subaccount = blob.nullmap((v)=>Blob.of_the_vector_nat8(v.cast_vector<Nat8>()).bytes);
return Icrc1Account(
owner: r['owner'] as Principal,
subaccount: subaccount
);
}