findAccountByOwner method
Implementation
Future<List<AccountMetadataDoc>> findAccountByOwner({
required String owner,
required String operator,
}) async {
final request = ListAccountMetadataRequest()..owner = base64Decode(owner);
final envelop = await requestEnvelope(request: request);
final documents =
await getServiceClient(operator).query.listAccountMetadata(envelop);
return documents.accounts.map(AccountMetadataDoc.new).toList();
}