DynamiteSerializer<B, H> constructor

const DynamiteSerializer<B, H>({
  1. required FullType? bodyType,
  2. required FullType? headersType,
  3. required Serializers serializers,
  4. Set<int>? validStatuses,
})

Creates a new dynamite serializer.

Implementation

const DynamiteSerializer({
  required this.bodyType,
  required this.headersType,
  required this.serializers,
  this.validStatuses,
});