Extension<T> constructor
Extension<T> ({})
Implementation
factory Extension({
_i2.String? id,
_i3.Uri? extensionUri,
_i2.String? extensionPath,
_i2.bool? isActive,
_i2.dynamic packageJSON,
_i3.ExtensionKind? extensionKind,
_i2.dynamic exports,
_i2.Future<_i2.dynamic> Function()? activate,
}) =>
Extension._(
id: id,
extensionUri: extensionUri ?? _i6.undefined,
extensionPath: extensionPath,
isActive: isActive,
packageJSON: packageJSON,
extensionKind: extensionKind?.name,
exports: exports,
activate: activate == null ? null : _i5.allowInterop(activate),
);