synapp_functions_helper 1.0.19 copy "synapp_functions_helper: ^1.0.19" to clipboard
synapp_functions_helper: ^1.0.19 copied to clipboard

A helper with many helpful functions for developing appwrite functions

example/synapp_functions_helper_example.dart

import 'package:synapp_functions_helper/synapp_functions_helper.dart';

Future<FunctionDatasResult> callback(FunctionContext context) async {
  print(context);

  return FunctionDatasResult(
    datas: {
      'phone': context.payload['phone'],
    },
  );
}

Future<void> start(final req, final res) {
  return functionWrapper(
    req,
    res,
    Services.values,
    ['phone'],
    callback,
    requiredVariables: [],
  );
}
0
likes
80
pub points
0%
popularity

Publisher

unverified uploader

A helper with many helpful functions for developing appwrite functions

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

dargon2, dargon2_core, dart_appwrite, freezed_annotation, http, json_annotation, mailer

More

Packages that depend on synapp_functions_helper