decode static method

Implementation

static FlutterEnhancedKycResponse decode(Object result) {
  result as List<Object?>;
  return FlutterEnhancedKycResponse(
    smileJobId: result[0]! as String,
    partnerParams: FlutterPartnerParams.decode(result[1]! as List<Object?>),
    resultText: result[2]! as String,
    resultCode: result[3]! as String,
    actions: FlutterActions.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?,
    expirationDate: result[9] as String?,
    dob: result[10] as String?,
    base64Photo: result[11] as String?,
  );
}