livenessModeString property
String
get
livenessModeString
Returns the string representation of the liveness mode.
Returns 'NONE' for LivenessMode.none and 'TEXTURELIVENESS' for LivenessMode.textureLiveness.
Implementation
String get livenessModeString {
switch (this) {
case LivenessMode.none:
return 'NONE';
case LivenessMode.textureLiveness:
return 'TEXTURELIVENESS';
default:
return 'TEXTURELIVENESS';
}
}