encodePath method

  1. @override
List<String> encodePath(
  1. Object? params
)
override

Encodes this route's local path through the generated boundary.

Implementation

@override
List<String> encodePath(Object? params) {
  final encoded = this.params == null
      ? const <String, List<String>>{}
      : this.params!.encode(params as P);
  return template.build(encoded);
}