asMap method

Map asMap()

Implementation

Map asMap() {
  Map<String, dynamic> map = new Map();

  map["stepName"] = stepName;
  map["waitMessage"] = waitMessage;
  map["faceNotFoundMessage"] = faceNotFoundMessage;
  map["faceTooFarMessage"] = faceTooFarMessage;
  map["faceTooCloseMessage"] = faceTooCloseMessage;
  map["faceNotFittedMessage"] = faceNotFittedMessage;
  map["multipleFaceDetectedMessage"] = multipleFaceDetectedMessage;
  map["verifyingLivenessMessage"] = verifyingLivenessMessage;
  map["holdItMessage"] = holdItMessage;
  map["invalidFaceMessage"] = invalidFaceMessage;
  map["eyesClosedMessage"] = eyesClosedMessage;
  map["notCenterXMessage"] = notCenterXMessage;
  map["notCenterYMessage"] = notCenterYMessage;
  map["notCenterZMessage"] = notCenterZMessage;
  map["sensorLuminosityMessage"] = sensorLuminosityMessage;
  map["sensorOrientationMessage"] = sensorOrientationMessage;
  map["sensorStabilityMessage"] = sensorStabilityMessage;
  map["captureProcessingErrorMessage"] = captureProcessingErrorMessage;

  return map;
}