getStateVector method

Uint8List getStateVector()

Implementation

Uint8List getStateVector() {
  final runtime = DocumentRuntime.instance;
  if (runtime == null) {
    throw StateError('DocumentRuntime is not initialized');
  }
  return Uint8List.fromList(base64Decode(runtime.getStateVector(documentId: id)));
}