InvestigativePacket constructor

InvestigativePacket({
  1. @Default(PacketType.instanceIdentity) PacketType type,
  2. InstanceIdentity? identity,
  3. @JsonKey(name: "bloc_name") @Default("") String blocName,
  4. @JsonKey(name: "bloc_change") BlocChange? blocChange,
  5. Map<String, dynamic>? state,
  6. @JsonKey(name: "fall_back_state") String? fallbackState,
  7. @JsonKey(name: "old_fall_back_state") String? oldFallbackState,
  8. @JsonKey(name: "new_fall_back_state") String? newFallbackState,
  9. @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;