getPackageName method

String? getPackageName()

Returns the name of the originating package (same as _packageName).

Implementation

String? getPackageName() => _packageName;