FaceVideoOptions.fromJson constructor
Implementation
factory FaceVideoOptions.fromJson(Map<String, dynamic> json) {
rejectUnknownKeys('FaceVideoOptions', json, const {
'showIntro',
'recordAudio',
'showConfirmation',
});
return FaceVideoOptions(
showIntro: json['showIntro'] as bool? ?? true,
recordAudio: json['recordAudio'] as bool? ?? false,
showConfirmation: json['showConfirmation'] as bool? ?? true,
);
}