$demoteModerator_Serializer method

  1. @experimental
DynamiteSerializer<RoomDemoteModeratorResponseApplicationJson, void> $demoteModerator_Serializer()

Builds a serializer to parse the response of $demoteModerator_Request.

Implementation

@_i2.experimental
_i1.DynamiteSerializer<RoomDemoteModeratorResponseApplicationJson, void> $demoteModerator_Serializer() =>
    _i1.DynamiteSerializer(
      bodyType: const FullType(RoomDemoteModeratorResponseApplicationJson),
      headersType: null,
      serializers: _$jsonSerializers,
      validStatuses: const {200, 400, 403, 404},
    );