ResponseCreated class
Emitted whenever a new Response
object is created.
- Inheritance
-
- Object
- ResponseEvent
- ResponseCreated
Constructors
- ResponseCreated.new({required Response response, required int sequenceNumber})
-
const
-
ResponseCreated.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- response → Response
-
The freshly created response.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequenceNumber → int
-
Monotonic ordering number for this stream / session.
final
- type → String
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited