get method

Future<Wallet> get(
  1. String id
)

Get a wallet by ID.

Implementation

Future<Wallet> get(String id) async {
  final data = await _conn.request('Wallet/$id', 'GET');
  return Wallet.fromJson(data as Map<String, dynamic>);
}