HLSStreamProperties.fromMap constructor

HLSStreamProperties.fromMap(
  1. Map map
)

Implementation

factory HLSStreamProperties.fromMap(Map<dynamic, dynamic> map) {
  return HLSStreamProperties(
      rollingWindowTime: map['rolling_window_time'] != null
          ? map["rolling_window_time"].toDouble()
          : null,
      streamDuration: map['stream_duration'] != null
          ? map["stream_duration"].toDouble()
          : null);
}