success method

StyledBlock success()

Sets the block to success type.

Implementation

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