ZonaiFileStorage class

File-backed Storage for CLI and server-side Zonai clients.

Import package:zonai_client/storage.dart — not the main zonai_client.dart library — so browser apps do not pull package:file into the client graph.

Implemented types

Constructors

ZonaiFileStorage({required String directory, FileSystem? fs})
const

Properties

directory String
final
fs → FileSystem
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(String key) Future<void>
override
save(String key, Object? value) Future<void>
override
saveAll(Map<String, Object?> values) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) Future<Object?>
override