conforms abstract method

bool conforms({
  1. required Protocol to,
})

Returns a Boolean value that indicates whether the receiver conforms to a given protocol.

Implementation

bool conforms({required Protocol to});