getReturnCode abstract method

Future<ReturnCode?> getReturnCode()

Returns the return code for this session. Note that return code is only set for sessions that end with COMPLETED state. If a session is not started, still running or failed then this method returns null.

Implementation

Future<ReturnCode?> getReturnCode();