NERtcVideoRecvStats.fromMap constructor

NERtcVideoRecvStats.fromMap(
  1. Map stats
)

Implementation

NERtcVideoRecvStats.fromMap(Map stats) {
  uid = stats['uid'];
  List mapLayers = stats['layers'];
  for (var layer in mapLayers) {
    layers.add(NERtcVideoLayerRecvStats.fromMap(layer));
  }
}