Nhost Functions Dart SDK
Nhost Functions API for Dart
Getting Started
Get your subdomain and region from nhost dashboard
import 'package:nhost_functions_dart/nhost_functions_dart.dart';
void main() async {
final functions = NhostFunctionsClient(url: 'Your Service URL');
print('Running serverless function /hello');
final helloResponse = await functions.callFunction(
'/hello',
query: {'name': 'Universe'},
);
print('Response: ${helloResponse.body}');
}
Latest Release
dependencies:
nhost_functions_dart: ^1.0.0