getState method

Future<List<StatsReport>> getState()

Get associated Transport (RTCPeerConnection) stats.

@returns {List

Implementation

Future<List<StatsReport>> getState() async {
  if (_closed) {
    throw ('closed');
  }

  return await _handler.getTransportStats();
}