registerForLocation static method

void registerForLocation(
  1. String pattern,
  2. DVLocationPreviewBuilder builder
)

Register a builder for a pattern that is given the concrete location a link names and the parameters taken from it.

Implementation

static void registerForLocation(
  String pattern,
  DVLocationPreviewBuilder builder,
) => _locationBuilders[pattern] = builder;