KinesisVideoStreamConfig.fromJson constructor

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

Implementation

factory KinesisVideoStreamConfig.fromJson(Map<String, dynamic> json) {
  return KinesisVideoStreamConfig(
    encryptionConfig: EncryptionConfig.fromJson(
        json['EncryptionConfig'] as Map<String, dynamic>),
    prefix: json['Prefix'] as String,
    retentionPeriodHours: json['RetentionPeriodHours'] as int,
  );
}