findTypeOtherElement method

  1. @protected
NopListener? findTypeOtherElement(
  1. Type t,
  2. Object? groupName
)

Implementation

@protected
NopListener? findTypeOtherElement(Type t, Object? groupName) {
  NopListener? listener;

  visitOtherElement((current) {
    assert(current != this);
    return (listener = current.findCurrentTypeArg(t, groupName)) != null;
  });

  return listener;
}