getServerPort method
Return the port of the diagnostic web server. If the server is not running
this call will start the server. If unable to start the diagnostic web
server, this call will return an error of
DEBUG_PORT_COULD_NOT_BE_OPENED
.
Implementation
Future<ServerPortResult> getServerPort() =>
_call('diagnostic.getServerPort').then(ServerPortResult.parse);