LivePreRollConfiguration.fromJson constructor

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

Implementation

factory LivePreRollConfiguration.fromJson(Map<String, dynamic> json) {
  return LivePreRollConfiguration(
    adDecisionServerUrl: json['AdDecisionServerUrl'] as String?,
    maxDurationSeconds: json['MaxDurationSeconds'] as int?,
  );
}