BloomRpcDecodeException constructor
BloomRpcDecodeException({
- required Object cause,
- required dynamic rawData,
- BloomRpcContract? contract,
- Uri? uri,
- StackTrace? stackTrace,
- 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';