isLibrary abstract method

Future<bool> isLibrary(
  1. AssetId assetId
)

Returns whether assetId represents an Dart library file.

This will be false in the case where the file is not Dart source code, or is a part of file (not a standalone Dart library).

Implementation

Future<bool> isLibrary(AssetId assetId);