DV3DSceneStore class final

Published scene documents, by id.

Constructors

DV3DSceneStore(DVDatabaseAdapter database)

Properties

changes → Stream<String>
Ids whose stored document changed, as it changes, so a running viewport can pick up a publish.
no setter
database → DVDatabaseAdapter
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

close() → Future<void>
delete(String id) → Future<void>
ensureSchema() → Future<void>
ids() → Future<List<String>>
load(String id) → Future<DV3DSceneDocument?>
The stored document, or null. A stored document that no longer decodes throws rather than reading as absent: a scene that silently disappeared would look like a withdrawal nobody made.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(DV3DSceneDocument document) → Future<void>
Stores document under its id, replacing what was there.
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

table → const String