VideoLoadMetadata constructor

VideoLoadMetadata({
  1. TrackingType trackingType = TrackingType.auto,
  2. required int duration,
  3. Map<String, dynamic>? providedData,
})

Implementation

VideoLoadMetadata({
  TrackingType trackingType = TrackingType.auto,
  required int duration,
  Map<String, dynamic>? providedData,
}) : super(
        trackingType: trackingType,
        eventName: EventNames.loadMetadata.value,
        eventDetails: {
          VideoEventJSONKeys.trackingType.name: trackingType.value,
          VideoEventJSONKeys.videoDuration.name: duration,
        },
      );