relay_client/json_rpc_2/src/utils library
Properties
- 
  ignoreFormatExceptions
  → StreamTransformer<Object?, Object?> 
- 
  A transformer that silently drops FormatExceptions.
  final
- 
  respondToFormatExceptions
  → StreamChannelTransformer<Object?, Object?> 
- 
  A transformer that sends error responses on FormatExceptions.
  final
Functions
- 
  getErrorMessage(dynamic error) → String 
- Get a string description of an exception.
- 
  tryFinally(dynamic body(), dynamic whenComplete()) → void 
- 
  Like try/finally, runbodyand ensure thatwhenCompleteruns afterwards, regardless of whetherbodysucceeded.
Typedefs
- ZeroArgumentFunction = dynamic Function()