HlsAkamaiSettings.fromJson constructor
HlsAkamaiSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory HlsAkamaiSettings.fromJson(Map<String, dynamic> json) {
return HlsAkamaiSettings(
connectionRetryInterval: json['connectionRetryInterval'] as int?,
filecacheDuration: json['filecacheDuration'] as int?,
httpTransferMode:
(json['httpTransferMode'] as String?)?.toHlsAkamaiHttpTransferMode(),
numRetries: json['numRetries'] as int?,
restartDelay: json['restartDelay'] as int?,
salt: json['salt'] as String?,
token: json['token'] as String?,
);
}