imports static method

List<ModuleImportDescriptor> imports(
  1. Module moduleObject
)

Given a Module, returns an array containing descriptions of all the declared imports.

Implementation

static _i2.List<_i3.ModuleImportDescriptor> imports(
        _i3.Module moduleObject) =>
    (_i6.callMethod(
      _declaredModule,
      'imports',
      [moduleObject],
    ) as _i2.List)
        .cast();