DatadogRum class

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

addAttribute(String attributeName, String value) Future<void>
Adds a global attribute to all future RUM events.
addError(Object error, StackTrace stackTrace) Future<void>
addFlutterError(FlutterErrorDetails error) Future<void>
Convenience method for addError
addTiming(String event) Future<void>
Manually log screen load time.
addUserAction(String name, {RUMAction action = RUMAction.tap, Map<String, dynamic> attributes = const <String, dynamic>{}}) Future<void>
Manually track a user event.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeAttribute(String attributeName) Future<void>
Removes a global attribute from all future RUM events.
startResourceLoading(String key, {required String url, String method = 'GET', Map<String, dynamic> attributes = const <String, dynamic>{}}) Future<void>
Notifies that the Resource starts being loaded from given url.
startUserAction(String name, {RUMAction action = RUMAction.tap}) Future<void>
Manually track a user event.
startView(String screenName) Future<void>
Manually track entry to a screen. See DatadogObserver.
stopResourceLoading(String key, {int? statusCode, String? errorMessage, String kind = 'fetch', Map<String, dynamic> attributes = const <String, dynamic>{}}) Future<void>
Notifies that the Resource stops being loaded.
stopUserAction(String name, {RUMAction action = RUMAction.tap}) Future<void>
Manually track a user event.
stopView(String screenName) Future<void>
Manually track exit from a screen. See DatadogObserver.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

instance → const DatadogRum
Before invoking any methods, DatadogFlutter.initialize must be invoked with a non-empty rumApplicationId.