onError method
Called when a connection error occurs. Return null to suppress the error.
Implementation
Future<dynamic> onError(dynamic error) async => error;
Called when a connection error occurs. Return null to suppress the error.
Future<dynamic> onError(dynamic error) async => error;