CdnConfiguration.fromJson constructor

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

Implementation

factory CdnConfiguration.fromJson(Map<String, dynamic> json) {
  return CdnConfiguration(
    adSegmentUrlPrefix: json['AdSegmentUrlPrefix'] as String?,
    contentSegmentUrlPrefix: json['ContentSegmentUrlPrefix'] as String?,
  );
}