LeadEventResponse class

Constructors

LeadEventResponse({required String nextUrl, required String paginationToken, required bool shouldContinuePolling, List<LeadEvent> data = const []})
Returns a new LeadEventResponse instance.

Properties

data ↔ List<LeadEvent>
Lead event data for the requested time window.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
nextUrl ↔ String
The URL for the next request.
getter/setter pair
paginationToken ↔ String
An opaque string that identifies the end of the current page of data and is used as a cursor for consecutive requests.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shouldContinuePolling ↔ bool
If true, data is currently available at nextUrl. Calling the nextUrl at the current time will return the next batch of data. If false, calling nextUrl at the current time will return an error response from the API. Data will be made available at a later time (at the next hour mark).
getter/setter pair

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.
override

Static Methods

fromJson(dynamic value) → LeadEventResponse?
Returns a new LeadEventResponse instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<LeadEventResponse>
mapFromJson(dynamic json) → Map<String, LeadEventResponse>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<LeadEventResponse>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.