boolean static method

PrimitiveSerializer<bool> boolean([
  1. Serializer<bool>? serializer
])

Implementation

static PrimitiveSerializer<bool> boolean([Serializer<bool>? serializer]) =>
    _StringBoolSerializer(serializer);