castFrom<T extends _ObjCWrapper> static method
Returns a NSPortNameServer that points to the same underlying object as other
.
Implementation
static NSPortNameServer castFrom<T extends _ObjCWrapper>(T other) {
return NSPortNameServer._(other._id, other._lib,
retain: true, release: true);
}