GraphAssertOut class

Constructors

GraphAssertOut({int? duplicate, List<String> reasons = const [], int? recorded, int? refused})
Returns a new GraphAssertOut instance.

Properties

duplicate ↔ int?
Duplicate is how many members this plane already held. A redelivery collides on its content address and is counted here, not refused: it is the success a retrying caller depends on.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
reasons ↔ List<String>
Reasons names why each refused member was refused, in the order sent.
getter/setter pair
recorded ↔ int?
Recorded is how many members became new rows.
getter/setter pair
refused ↔ int?
Refused is how many members were turned away on arrival, before the store was touched — a missing entity, a timestamp that is not RFC 3339, a confidence outside 0,1. The rest of the batch was still recorded.
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) → GraphAssertOut?
Returns a new GraphAssertOut instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<GraphAssertOut>
mapFromJson(dynamic json) → Map<String, GraphAssertOut>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<GraphAssertOut>>

Constants

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