VideoSettings.fromMap constructor
Implementation
factory VideoSettings.fromMap(Map<String, dynamic> map) {
return VideoSettings(
width: map['width'] as int,
height: map['height'] as int,
bitrate: map['bitrate'] as int,
frameInterval: map['frameInterval'] as int,
profileLevel: ProfileLevel.values.byName(map['profileLevel'] as String),
);
}