updateWith method

void updateWith(
  1. String s
)

emits an event by name and an 'update' event

Implementation

void updateWith(String s) {
  emit(s);
  emit('update');
}