rebuild abstract method

$BotInterface rebuild(
  1. void updates(
    1. $BotInterfaceBuilder
    )
)

Rebuilds the instance.

The result is the same as this instance but with updates applied. updates is a function that takes a builder $BotInterfaceBuilder.

Implementation

$BotInterface rebuild(void Function($BotInterfaceBuilder) updates);