getAccount method

Future<AccountDetail> getAccount({
  1. required String accountId,
})

Implementation

Future<AccountDetail> getAccount({
  required String accountId,
}) async {
  return await invokeMethod<AccountDetail>(
    (j) => AccountDetail.fromJson(j),
    'autogen_getAccount',
    {
      'env': this.env.index,
      'accessToken': this.accessToken,
      'account_id': accountId,
    },
  );
}