warning method

StyledBlock warning()

Sets the block to warning type.

Implementation

StyledBlock warning() {
  _type = BlockStyleType.warning;
  return this;
}