MeshDocument constructor

MeshDocument({
  1. void sendChangesToBackend(
    1. String
    )?,
  2. required MeshSchema schema,
})

Implementation

MeshDocument({super.sendChangesToBackend, required super.schema})
  : super(id: const Uuid().v4(), sendChanges: DocumentRuntime.instance.sendChanges) {
  DocumentRuntime.instance.registerDocument(this);
}