CaptureOption.fromJson constructor

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

Implementation

factory CaptureOption.fromJson(Map<String, dynamic> json) {
  return CaptureOption(
    captureMode: (json['CaptureMode'] as String).toCaptureMode(),
  );
}