setOpenUrlCallback static method

Future<void> setOpenUrlCallback(
  1. _ReproCallback callback
)

Implementation

static Future<void> setOpenUrlCallback(_ReproCallback callback) async {
  _lastOpenUrlCallbackCleanupFunc?.call();
  _lastOpenUrlCallbackCleanupFunc = await Repro._startListening(
    methodName: 'startListening_setOpenUrlCallback',
    callback: callback,
    arguments: null,
    resultTypeName: 'Uri');
}