appwrite/docs/examples/1.5.x/client-flutter/examples/account/create.md
2025-04-22 17:02:33 +04:00

377 B

import 'package:appwrite/appwrite.dart';

Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID

Account account = Account(client);

User result = await account.create( userId: '<USER_ID>', email: 'email@example.com', password: '', name: '', // optional );