EnrollResult class

Constructors

EnrollResult({int? alreadyEnrolled, int? enrolled, String? enrollmentId, int? resolved})
Returns a new EnrollResult instance.

Properties

alreadyEnrolled ↔ int?
AlreadyEnrolled is how many this sequence had already taken and were left alone.
getter/setter pair
enrolled ↔ int?
Enrolled is how many started a walk on this call.
getter/setter pair
enrollmentId ↔ String?
EnrollmentID names the walk, and is present ONLY for a single-address enroll — a fan-out has many, and reporting one of them would be a lie.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
resolved ↔ int?
Resolved is how many addresses the request named — 1 for an address, the audience's deliverable count for an audience.
getter/setter pair
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
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) → EnrollResult?
Returns a new EnrollResult instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<EnrollResult>
mapFromJson(dynamic json) → Map<String, EnrollResult>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<EnrollResult>>

Constants

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