FacePhotoOptions.fromJson constructor

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

Implementation

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