init method
void
init({
- VoidCallback? block,
- T? result,
Implementation
void init({VoidCallback? block, T? result}) {
if (_first) {
_first = false;
if (result != null) {
this.result = result;
}
block?.call();
}
}