docs(directive.dart): fix a typo

fix a typo