castFrom<T extends _ObjCWrapper> static method

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

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

Implementation

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