getAccount method

Future<Account> getAccount({
  1. required String id,
})

Implementation

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