AppwriteServer constructor

AppwriteServer(
  1. AppwriteEnvironment environment
)

Implementation

AppwriteServer(this.environment) : client = Client() {
  client
    ..setEndpoint(environment.endPoint)
    ..setProject(environment.projectId)
    ..setKey(environment.apiKey);
}