linksConfigure method

  1. @override
Future<void> linksConfigure(
  1. List<String> hosts
)
override

Tell native which hosts serve Nexus short links, so it can consume them (keep them away from the app's router) on the NEXT cold start too.

Implementation

@override
Future<void> linksConfigure(List<String> hosts) async {
  try {
    await methodChannel.invokeMethod('linksConfigure', {'hosts': hosts});
  } catch (_) {}
}