importStatement property

String get importStatement

Extracts the import statement from an Element

Implementation

String get importStatement {
  final source = librarySource ?? this.source!;

  return source.uri.toString();
}