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