RecordingInfo.fromMap constructor Null safety

RecordingInfo.fromMap(
  1. Map map
)

Implementation

factory RecordingInfo.fromMap(Map<dynamic, dynamic> map) {
  return RecordingInfo(
    filePath: map['filePath'],
    videoCodecType: (map['videoCodecType'] as int).videoCodecType,
    width: map['width'],
    height: map['height'],
  );
}