PathSegment.variable constructor

const PathSegment.variable(
  1. String? fieldPath, {
  2. String? pattern,
})

Implementation

const PathSegment.variable(this.fieldPath, {this.pattern})
  : isVariable = true,
    literal = '';