unregister method

void unregister(
  1. String autofillId
)

Removes an AutofillClient with the given autofillId from this AutofillGroup.

Typically, this should be called by a text field when it's being disposed, or before it's registered with a different AutofillGroup.

See also:

Implementation

void unregister(String autofillId) {
  assert(_clients.containsKey(autofillId));
  _clients.remove(autofillId);
}