update method

void update(
  1. dynamic value
)

Update value from dynamic

Implementation

void update(dynamic value) {
  value == null ? this.value = '' : this.value = value.toString();
}