$promoteModerator_Serializer method

  1. @experimental
DynamiteSerializer<RoomPromoteModeratorResponseApplicationJson, void> $promoteModerator_Serializer()

Builds a serializer to parse the response of $promoteModerator_Request.

Implementation

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