IDFlowVideoConfig.fromJson constructor

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

Implementation

factory IDFlowVideoConfig.fromJson(Map<String, dynamic> json) {
  return IDFlowVideoConfig(
    uiVariant: IDFlowVideoUiVariant.fromJson(json['uiVariant']),
    microphoneEnabled: json['microphoneEnabled'],
    soundGuidesEnabled: json['soundGuidesEnabled'],
    countdownEnabled: json['countdownEnabled'],
    exitConfirmationEnabled: json['exitConfirmationEnabled'],
  );
}