SendStatsRequest constructor

SendStatsRequest({
  1. String? sessionId,
  2. String? subscriberStats,
  3. String? publisherStats,
  4. String? webrtcVersion,
  5. String? sdk,
  6. String? sdkVersion,
})

Implementation

factory SendStatsRequest({
  $core.String? sessionId,
  $core.String? subscriberStats,
  $core.String? publisherStats,
  $core.String? webrtcVersion,
  $core.String? sdk,
  $core.String? sdkVersion,
}) {
  final $result = create();
  if (sessionId != null) {
    $result.sessionId = sessionId;
  }
  if (subscriberStats != null) {
    $result.subscriberStats = subscriberStats;
  }
  if (publisherStats != null) {
    $result.publisherStats = publisherStats;
  }
  if (webrtcVersion != null) {
    $result.webrtcVersion = webrtcVersion;
  }
  if (sdk != null) {
    $result.sdk = sdk;
  }
  if (sdkVersion != null) {
    $result.sdkVersion = sdkVersion;
  }
  return $result;
}