outInteger method
Create an Integer OUT parameter (user-friendly helper)
Example:
final countOut = await conn.outInteger();
await conn.callproc('get_count', keywordParameters: {'count': countOut});
print('Count: ${await countOut.getValue()}');
countOut.dispose();
Implementation
Future<OracleVariable> outInteger() async {
return createVar(
oracleType: DPI_ORACLE_TYPE_NUMBER,
nativeType: DPI_NATIVE_TYPE_INT64,
direction: BindDirection.output,
);
}