result method

  1. @override
T result()
override

Implementation

@override
T result(){
  throw Exception('Object is not Success! Check with isSuccess() before use');
}