M7DetectionConfig constructor
M7DetectionConfig({})
Implementation
M7DetectionConfig({
required this.steps,
this.startWithInfoScreen = false,
this.maxSecToDetect = 15,
this.allowAfterMaxSec = false,
this.captureButtonColor,
}) {
assert(
steps.isNotEmpty,
'''
Cannot pass an empty array of [M7LivelynessStepItem].
''',
);
}