@override Object toJson() => { 'pathPattern': ?pathPattern, 'pathSubstitution': ?pathSubstitution, };