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