MediaStreamNative.fromMap constructor

MediaStreamNative.fromMap(
  1. Map map
)

Implementation

factory MediaStreamNative.fromMap(Map<dynamic, dynamic> map) {
  return MediaStreamNative(map['streamId'], map['ownerTag'])
    ..setMediaTracks(map['audioTracks'], map['videoTracks']);
}