This is a dart client to communicate with GridProxy based on the network.
dart pub get
dart run build_runner build
-
Ensure that initializeReflectable() is called at the beginning of your main
-
Example usage:
import 'gridproxy_client.reflectable.dart';
initializeReflectable();
GridProxyClient client = GridProxyClient('https://gridproxy.dev.grid.tf');
final farms =
await client.farms.list(ListFarmsQueryParameters(page: 1, size: 20));
print(farms);