FrameCaptureSettings.fromJson constructor

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

Implementation

factory FrameCaptureSettings.fromJson(Map<String, dynamic> json) {
  return FrameCaptureSettings(
    framerateDenominator: json['framerateDenominator'] as int?,
    framerateNumerator: json['framerateNumerator'] as int?,
    maxCaptures: json['maxCaptures'] as int?,
    quality: json['quality'] as int?,
  );
}