BugsnagProjectPackages class
In order to determine where a crash happens Bugsnag needs to know which packages you consider to be part of your app (as opposed to a library).
By default this is set according to the underlying platform (e.g. Android)
and an attempt is made to discover the Dart package your app uses.
This detection will not work if you build using --split-debug-info
.
See also:
- Bugsnag.start
BugsnagProjectPackages.defaults
Constructors
-
BugsnagProjectPackages.only(Set<
String> packageNames) -
Specify the exact list of package names to consider as part of the
project. This should include packages from both Dart and any Java packages
your application uses on Android.
const
-
BugsnagProjectPackages.withDefaults(Set<
String> additionalPackageNames) -
Combine the given set of
packageNames
with the default packages. This is useful when you are using--split-debug-info
and so need to specify your Dart packages in Bugsnag.start.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator +(
BugsnagProjectPackages other) → dynamic -
operator ==(
Object other) → bool -
The equality operator.
inherited