tryGetError method

  1. @override
E? tryGetError()
override

Returns the value of E if any.

Implementation

@override
E? tryGetError() => null;