SmartGrowLogsAPI class
Internal API class for communicating with native plugins via MethodChannel
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
-
flush(
int timeoutMs) → Future< bool> -
Drain the offline queue now, blocking (natively) up to
timeoutMs. Returns whether nothing was left pending. -
initialize(
{required String apiKey, required String baseUrl, bool debug = false, bool autoCaptureEnabled = true, bool androidAnrWatchdogEnabled = false, int androidAnrTimeoutMs = 5000, String? extraCaPem, LogLevel minLevel = LogLevel.debug}) → Future< void> - Initialize the Smart Grow Logs SDK
-
sendLog(
LogOptions options) → Future< LogResponse> - Send a log entry to the server