TakeoverRequestedEvent class
- Available extensions
- Annotations
-
- @CopyWith.new()
- @JsonSerializable.new(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)
Constructors
- TakeoverRequestedEvent({required int v, required String runId, required int seq, required DateTime ts, required String botId, required TakeoverRequestedEventTypeEnum type, required TakeoverRequestedEventPayload payload})
- Returns a new TakeoverRequestedEvent instance.
-
TakeoverRequestedEvent.fromJson(Map<
String, dynamic> json) -
factory
Properties
- botId → String
-
final
- copyWith → _$TakeoverRequestedEventCWProxy
-
Available on TakeoverRequestedEvent, provided by the $TakeoverRequestedEventCopyWith extension
Returns a callable class used to build a new instance with modified fields. Example:instanceOfTakeoverRequestedEvent.copyWith(...)orinstanceOfTakeoverRequestedEvent.copyWith.fieldName(...).no setter - hashCode → int
-
The hash code for this object.
no setteroverride
- payload → TakeoverRequestedEventPayload
-
final
- runId → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seq → int
-
final
- ts → DateTime
-
final
- type → TakeoverRequestedEventTypeEnum
-
final
- v → int
-
Protocol version, currently 1
final
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