BugBattle class
Constructors
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
addCustomActionCallback(
Future handler(MethodCall call)?) → void - Sets a callback for receiving method calls on this channel.
-
attachCustomData(
Map< String, dynamic> customData) → void - attachs custom data.
-
autoConfigure(
String apiKey) → void -
auto configure bugbattle with your
apiKey
. -
clearCustomData(
) → void - clears all custom data.
-
enablePoweredByBugbattle(
bool enabled) → void -
Sets the logoUrl url to
logoUrl
. -
enablePrivacyPolicy(
bool enable) → void -
enable
enables the pricacy policy. -
enableReplays(
) → void - enables replays.
-
initializeMany(
String apiKey, List< ActivationMethod> activationMethods) → void -
initializes bugbattle with
apiKey
and sets the array ofactivationMethods
. -
initWithToken(
String apiKey, ActivationMethod activationMethod) → void -
initializes bugbattle with
apiKey
and sets theactivationMethod
. -
logEvent(
String name, Map< String, dynamic> data) → void - Log a custom event.
-
removeCustomData(
String key) → void -
remove custom data with
key
. -
sendSilentBugReport(
String email, String description, BugPriority priority) → void - sends a silent bug report.
-
setApiUrl(
String url) → void -
Sets the api url to
url
. -
setColor(
Color color) → void - Sets the primary color.
-
setCustomData(
String key, String value) → void -
sets custom data
data
withkey
. -
setCustomerEmail(
String email) → void - sets a customer email.
-
setCustomerName(
String name) → void - sets a customer name.
-
setLanguage(
String language) → void -
setLogoUrl(
String logoUrl) → void -
Sets the logoUrl url to
logoUrl
. -
setPrivacyPolicyUrl(
String url) → void -
Sets the privacy url url to
url
. -
startBugReporting(
) → dynamic - starts bug reporting.