Sets the block to warning type.
StyledBlock warning() { _type = BlockStyleType.warning; return this; }