InvestigativePacket constructor
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,
Implementation
factory 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,
}) = _InvestigativePacket;