BloomRpcDecodeException constructor

BloomRpcDecodeException({
  1. required Object cause,
  2. required dynamic rawData,
  3. BloomRpcContract? contract,
  4. Uri? uri,
  5. StackTrace? stackTrace,
  6. String? message,
})

Creates a BloomRpcDecodeException with decode cause and offending rawData.

Implementation

BloomRpcDecodeException({
  required this.cause,
  required this.rawData,
  this.contract,
  this.uri,
  this.stackTrace,
  String? message,
}) : message = message ??
          'Failed to decode RPC response for ${contract?.method.value ?? ""} ${contract?.pathTemplate ?? ""}: $cause';