FileEventContext.fromRequest constructor
FileEventContext.fromRequest(
- ServerMessage msg,
- Bucket bucket
Create a Blob Event context from a server message.
Implementation
FileEventContext.fromRequest($bp.ServerMessage msg, Bucket bucket)
: this(
msg.id,
FileEventRequest(bucket.file(msg.blobEventRequest.blobEvent.key)),
BlobEventResponse(),
);