BloomRpcCancelledException constructor

BloomRpcCancelledException({
  1. String reason = 'Request was cancelled',
  2. BloomRpcContract? contract,
  3. Uri? uri,
})

Creates a BloomRpcCancelledException with cancellation reason.

Implementation

BloomRpcCancelledException({
  this.reason = 'Request was cancelled',
  this.contract,
  this.uri,
}) : message = 'RPC request cancelled: $reason';