WebRTCVideoCapture.fromJson constructor

WebRTCVideoCapture.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory WebRTCVideoCapture.fromJson(Map<String, dynamic> json) => WebRTCVideoCapture(
    senderIndex: (json['SenderIndex'] as num?)?.toInt() ?? 0,
    correlationId: (json['CorrelationId'] as String?),
);