toCpp method
Implementation
Pointer<Void> toCpp({ProxyRCType rcType = ProxyRCType.strong}) {
final isProxy = this.isProxy;
if (strongPointer != nullptr && (isProxy || rcType == ProxyRCType.strong)) {
return strongPointer;
}
if (weakPointer != nullptr && (isProxy || rcType == ProxyRCType.weak)) {
return weakPointer;
}
return nullptr;
}