decode static method
Implementation
static FlutterBiometricKycJobResult decode(Object result) {
result as List<Object?>;
return FlutterBiometricKycJobResult(
actions: FlutterActions.decode(result[0]! as List<Object?>),
resultCode: result[1]! as String,
resultText: result[2]! as String,
resultType: result[3]! as String,
smileJobId: result[4]! as String,
partnerParams: FlutterPartnerParams.decode(result[5]! as List<Object?>),
antifraud: result[6] != null
? FlutterAntifraud.decode(result[6]! as List<Object?>)
: null,
dob: result[7] as String?,
photoBase64: result[8] as String?,
gender: result[9] as String?,
idType: result[10] as String?,
address: result[11] as String?,
country: result[12] as String?,
documentImageBase64: result[13] as String?,
fullData: (result[14] as Map<Object?, Object?>?)?.cast<String?, String?>(),
fullName: result[15] as String?,
idNumber: result[16] as String?,
phoneNumber: result[17] as String?,
phoneNumber2: result[18] as String?,
expirationDate: result[19] as String?,
secondaryIdNumber: result[20] as String?,
idNumberPreviouslyRegistered: result[21] as bool?,
previousRegistrantsUserIds: (result[22] as List<Object?>?)?.cast<String?>(),
);
}