NextIn class

Constructors

NextIn({int? batch, String? expires, String? name, bool? noWait, String? stream})
Returns a new NextIn instance.

Properties

batch ↔ int?
Batch is how many messages to pull (1–1000, default 1).
getter/setter pair
expires ↔ String?
Expires is how long to wait for messages, e.g. "5s" (default "30s", max "60s").
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
name ↔ String?
Name is the consumer name, from the path.
getter/setter pair
noWait ↔ bool?
NoWait answers immediately with whatever is available instead of waiting.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stream ↔ String?
Stream is the stream name, from the path.
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) → NextIn?
Returns a new NextIn instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<NextIn>
mapFromJson(dynamic json) → Map<String, NextIn>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<NextIn>>

Constants

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