MomentsApi class abstract
Declares the functions that consist of Embrace's public API. You should not use MomentsApi directly or implement it in your own custom classes, as new functions may be added in future. Use the Embrace class instead.
- Implementers
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
-
endAppStartup(
{Map< String, String> ? properties}) → void - Signals that the app has completed startup.
-
endMoment(
String name, {String? identifier, Map< String, String> ? properties}) → void -
Signals the end of a moment with the specified
name
andidentifier
. -
endStartupMoment(
{Map< String, String> ? properties}) → void - Signals that the app has completed startup.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startMoment(
String name, {String? identifier, bool allowScreenshot = false, Map< String, String> ? properties}) → void - Starts a moment.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited