HMSVideoTrack constructor Null safety

HMSVideoTrack(
  1. {bool isDegraded,
  2. required HMSTrackKind kind,
  3. required HMSTrackSource source,
  4. required String trackId,
  5. required String trackDescription}
)

Implementation

HMSVideoTrack(
    {this.isDegraded = false,
    required HMSTrackKind kind,
    required HMSTrackSource source,
    required String trackId,
    required String trackDescription})
    : super(
        kind: kind,
        source: source,
        trackDescription: trackDescription,
        trackId: trackId,
      );