nhost_functions_dart 2.0.7 copy "nhost_functions_dart: ^2.0.7" to clipboard
nhost_functions_dart: ^2.0.7 copied to clipboard

Nhost Dart Functions Service SDK

Nhost Functions Dart SDK #

Pub nhost_dart tests

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