searchDelegate method

GetDelegate searchDelegate(
  1. String? k
)

Implementation

GetDelegate searchDelegate(String? k) {
  GetDelegate key;
  if (k == null) {
    key = Get.rootController.rootDelegate;
  } else {
    if (!keys.containsKey(k)) {
      throw 'Route id ($k) not found';
    }
    key = keys[k]!;
  }

  return key;
}