decode static method

Implementation

static FlutterEnhancedKycRequest decode(Object result) {
  result as List<Object?>;
  return FlutterEnhancedKycRequest(
    country: result[0]! as String,
    idType: result[1]! as String,
    idNumber: result[2]! as String,
    firstName: result[3] as String?,
    middleName: result[4] as String?,
    lastName: result[5] as String?,
    dob: result[6] as String?,
    phoneNumber: result[7] as String?,
    bankCode: result[8] as String?,
    callbackUrl: result[9] as String?,
    partnerParams: FlutterPartnerParams.decode(result[10]! as List<Object?>),
    timestamp: result[11]! as String,
    signature: result[12]! as String,
  );
}