Files
sdk-for-flutter/docs/examples/graphql/63a0228e7e93a.md
T
Jake Barnby 24dd99bbd2 Fix oauth
2023-01-31 20:21:28 +13:00

457 B

import 'package:appwrite/appwrite.dart';

void main() { // Init SDK Client client = Client(); Graphql graphql = Graphql(client);

client .setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = graphql.63a0228e7e93a( query: '[QUERY]', );

result .then((response) { print(response); }).catchError((error) { print(error.response); }); }