addChangeCallback method

void addChangeCallback(
  1. ValueChanged<MethodCall> c
)

Adds a callback function to be executed upon asset changes.

  • c: A required parameter. The function to be executed upon asset changes.

Implementation

void addChangeCallback(foundation.ValueChanged<MethodCall> c) =>
    _notifyCallback.add(c);