SubscribeConfig.fromMap constructor Null safety
- Map map
Implementation
factory SubscribeConfig.fromMap(Map<dynamic, dynamic> map) {
return SubscribeConfig(
isScreen: map['isScreen'],
subVideo: map['subVideo'],
subAudio: map['subAudio'],
videoIndex: map['videoIndex'],
subWidth: map['subWidth'],
subHeight: map['subHeight'],
subVideoIndex: map['subVideoIndex'],
svcLayer: map['svcLayer'],
frameRate: map['frameRate']);
}