switchBody method

void switchBody(
  1. EasyBody body
)

Implementation

void switchBody(EasyBody body) {
  this.body = body;
  notifyListeners();
}