fromPointer static method
Implementation
static TaxiMoney? fromPointer(ffi.Pointer<ffi.Void> ptr,
{core.bool needFree = true}) {
if (ptr == ffi.nullptr) {
return null;
}
final result = TaxiMoneyImpl.fromNative(ptr.cast<TaxiMoneyNative>().ref);
if (needFree) {
malloc.free(ptr);
}
return result;
}