getBlob method

Future<WriteBlobResult> getBlob()

Step 5: Get the final blob result.

Implementation

Future<WriteBlobResult> getBlob() async {
  if (_step != _FlowStep.certified) {
    throw StateError('Must call certify() before getBlob()');
  }

  return WriteBlobResult(
    blobId: _metadata!.blobId,
    blobObjectId: _blobObjectId!,
    certifyDigest: '', // Populated after certify tx is signed
  );
}