constructor(name, definition, config) {
        this.name = name;
        this.definition = definition;
        this.bindings = definition.bindings ?? {};
        this.wheres = definition.wheres ?? {};
        this.config = config;
    }
@param {String} name - Route name.
@param {Object} definition - Route definition.
@param {Object} config - Ziggy configuration.