1. DomName('RTCPeerConnection.getStats')
Future<RtcStatsResponse> getStats(MediaStreamTrack selector)

Source

@DomName('RTCPeerConnection.getStats')
Future<RtcStatsResponse> getStats(MediaStreamTrack selector) {
  var completer = new Completer<RtcStatsResponse>();
  _getStats((value) { completer.complete(value); }, selector);
  return completer.future;
}