apply method

  1. @override
String apply(
  1. String path
)
override

Implementation

@override
String apply(String path) {
  final tag = isIf ? '#' : '^';

  final variable = isIf ? $if : ifNot;

  return '{{$tag$variable}}$path{{/$variable}}';
}