// Example: connect to a locally-running F∆I hub. // // Run with `dart run example/fai_dart_sdk_example.dart`. // Currently the SDK is a stub; once codegen lands, this example // will exercise the actual Hub RPCs. import 'package:fai_dart_sdk/fai_dart_sdk.dart'; Future main() async { final client = HubClient( endpoint: const HubEndpoint(host: '127.0.0.1', port: 50051), ); // ignore: avoid_print print('would connect to ${client.endpoint}'); // ignore: avoid_print print('(SDK is a stub today; live RPC arrives with codegen)'); await client.close(); }