decode static method
Implementation
static FlutterActions decode(Object result) {
result as List<Object?>;
return FlutterActions(
documentCheck: FlutterActionResult.values[result[0]! as int],
humanReviewCompare: FlutterActionResult.values[result[1]! as int],
humanReviewDocumentCheck: FlutterActionResult.values[result[2]! as int],
humanReviewLivenessCheck: FlutterActionResult.values[result[3]! as int],
humanReviewSelfieCheck: FlutterActionResult.values[result[4]! as int],
humanReviewUpdateSelfie: FlutterActionResult.values[result[5]! as int],
livenessCheck: FlutterActionResult.values[result[6]! as int],
registerSelfie: FlutterActionResult.values[result[7]! as int],
returnPersonalInfo: FlutterActionResult.values[result[8]! as int],
selfieCheck: FlutterActionResult.values[result[9]! as int],
selfieProvided: FlutterActionResult.values[result[10]! as int],
selfieToIdAuthorityCompare: FlutterActionResult.values[result[11]! as int],
selfieToIdCardCompare: FlutterActionResult.values[result[12]! as int],
selfieToRegisteredSelfieCompare: FlutterActionResult.values[result[13]! as int],
updateRegisteredSelfieOnFile: FlutterActionResult.values[result[14]! as int],
verifyDocument: FlutterActionResult.values[result[15]! as int],
verifyIdNumber: FlutterActionResult.values[result[16]! as int],
);
}