TursoPlatformApi class

Minimal client of the Turso Platform API used by katana apply.

katana applyで使用するTurso Platform APIの最小限のクライアント。

Constructors

TursoPlatformApi({required String token, Uri? baseUrl, HttpClient? client})
Minimal client of the Turso Platform API used by katana apply.

Properties

baseUrl → Uri
API endpoint. Tests may use an in-process endpoint.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
token → String
Platform API token (Bearer).
final

Methods

close() → void
Closes the underlying HTTP client.
createGroup(String organization, {required String name, required String location}) → Future<bool>
Creates the group name whose primary location is location in organization.
listGroups(String organization) → Future<List<TursoGroupInfo>>
Lists the groups of organization.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited