notify method

void notify([
  1. Duration? delay
])

fires a null payload without using history

use delay to delay payload firing

only use when the payload type is dynamic

for more information check docs for Event.notify

Implementation

void notify([Duration? delay]) => event.notify(delay);