InjectRequestDto class

Request payload for the ext.rxdart.inject service extension — pushes a raw text value into a tracked subject.

Annotations
  • @JsonSerializable.new()

Constructors

InjectRequestDto({required String identifier, required String raw})
Creates an inject request targeting identifier with the raw text raw.
InjectRequestDto.fromJson(Map<String, dynamic> json)
Deserialises an InjectRequestDto from JSON.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
identifier String
Identifier of the tracked subject to inject into.
final
raw String
Raw text from the panel; the subject's parse callback turns this into the subject's value type.
final
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>
Serialises this DTO to JSON.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited