list method

Future<List<Admin>> list()

Implementation

Future<List<Admin>> list() async {
  return client.get(path, decoder: (json) => List<Admin>.from(json.map((e) => Admin.fromJson(e))));
}