decode static method

Implementation

static FlutterDocumentVerificationJobResult decode(Object result) {
  result as List<Object?>;
  return FlutterDocumentVerificationJobResult(
    actions: FlutterActions.decode(result[0]! as List<Object?>),
    resultCode: result[1]! as String,
    resultText: result[2]! as String,
    smileJobId: result[3]! as String,
    partnerParams: FlutterPartnerParams.decode(result[4]! as List<Object?>),
    country: result[5] as String?,
    idType: result[6] as String?,
    idNumber: result[7] as String?,
    fullName: result[8] as String?,
    dob: result[9] as String?,
    gender: result[10] as String?,
    expirationDate: result[11] as String?,
    documentImageBase64: result[12] as String?,
    phoneNumber: result[13] as String?,
    phoneNumber2: result[14] as String?,
    address: result[15] as String?,
  );
}