LogResponse class

Response from Smart Grow Logs after enqueuing a log.

Since 3.0.0 every log is enqueued into the native SDK's encrypted offline queue and delivered asynchronously by the core, so logId is always null: the server id is no longer known synchronously at call time.

Constructors

LogResponse({required bool success, String? logId, String? error})
LogResponse.fromJson(Map<String, dynamic> json)
factory
LogResponse.fromJsonString(String jsonString)
factory

Properties

error → String?
final
hashCode → int
The hash code for this object.
no setterinherited
logId → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
success → bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

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