populateAccountInfo method

Future<void> populateAccountInfo({
  1. required M10Sdk sdk,
  2. required String operator,
})

Implementation

Future<void> populateAccountInfo({
  required M10Sdk sdk,
  required String operator,
}) async {
  fromAccount = await sdk.getAccountInfo(
    id: fromAccountId,
    operator: operator,
  );
  toAccount = await sdk.getAccountInfo(
    id: toAccountId,
    operator: operator,
  );
}