InvestigativePacket class

Annotations
  • @freezed

Constructors

InvestigativePacket({@Default(PacketType.instanceIdentity) PacketType type, InstanceIdentity? identity, @JsonKey(name: "bloc_name") @Default("") String blocName, @JsonKey(name: "bloc_change") BlocChange? blocChange, Map<String, dynamic>? state, @JsonKey(name: "fall_back_state") String? fallbackState, @JsonKey(name: "old_fall_back_state") String? oldFallbackState, @JsonKey(name: "new_fall_back_state") String? newFallbackState, @JsonKey(name: "decode_error_reason") String? decodeErrorReason})
factory
InvestigativePacket.fromJson(Map<String, dynamic> json)
factory

Properties

blocChange BlocChange?
no setterinherited
blocName String
no setterinherited
copyWith → $InvestigativePacketCopyWith<InvestigativePacket>
no setterinherited
decodeErrorReason String?
no setterinherited
fallbackState String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
identity InstanceIdentity?
no setterinherited
newFallbackState String?
no setterinherited
oldFallbackState String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state Map<String, dynamic>?
no setterinherited
type PacketType
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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