responds method

  1. @override
bool responds({
  1. required SEL to,
})
override

Returns a Boolean value that indicates whether the receiver implements or inherits a method that can respond to a specified message.

Implementation

@override
bool responds({required SEL to}) {
  return performSync(SEL('respondsToSelector:'), args: [to]);
}