FrameCaptureSettings.fromJson constructor
Implementation
factory FrameCaptureSettings.fromJson(Map<String, dynamic> json) {
return FrameCaptureSettings(
captureInterval: json['captureInterval'] as int,
captureIntervalUnits: (json['captureIntervalUnits'] as String?)
?.toFrameCaptureIntervalUnit(),
);
}