watch method

void watch(
  1. dynamic filename, [
  2. dynamic options,
  3. void listener(
    1. String eventType,
    2. dynamic filename
    )
])

Implementation

external void watch(filename,
    [options, void Function(String eventType, dynamic filename) listener]);