MetarWindVariation constructor

MetarWindVariation(
  1. String? code,
  2. RegExpMatch? match
)

Implementation

MetarWindVariation(super.code, RegExpMatch? match) {
  if (match != null) {
    _from = Direction(match.namedGroup('from'));
    _to = Direction(match.namedGroup('to'));
  }
}