currentPackagePath property

String? get currentPackagePath

Implementation

String? get currentPackagePath =>
    _declarationStack.isEmpty ? null : _declarationStack.last.packagePath;