StrategyWeight constructor

const StrategyWeight({
  1. String? regexp,
  2. double? weight,
})

Implementation

const factory StrategyWeight({String? regexp, double? weight}) =
    _StrategyWeight;