method asyncFire


dynamic asyncFire(String type, {Object detail, Node toNode, bool canBubble})

Fire an event asynchronously. See async and fire.

Source

asyncFire(String type, {Object detail, Node toNode, bool canBubble}) {
  // TODO(jmesserly): I'm not sure this method adds much in Dart, it's easy to
  // add "() =>"
  async((x) =>
      fire(type, detail: detail, onNode: toNode, canBubble: canBubble));
}