castFrom<T extends _ObjCWrapper> static method

NSXMLDocument castFrom<T extends _ObjCWrapper>(
  1. T other
)
override

Returns a NSXMLDocument that points to the same underlying object as other.

Implementation

static NSXMLDocument castFrom<T extends _ObjCWrapper>(T other) {
  return NSXMLDocument._(other._id, other._lib, retain: true, release: true);
}