update method

void update(
  1. Section section
)

Replaces this section's payload. Asserts that the section still exists.

Implementation

void update(Section section) {
  controller.updateSection(key, section);
}