canHandle abstract method

bool canHandle(
  1. Message message,
  2. Map<String, List<Attachment>> attachments
)

Determines whether this builder can handle the given message and attachments. If this returns true, build will be called. Otherwise, the next builder in the list will be called.

Implementation

bool canHandle(Message message, Map<String, List<Attachment>> attachments);