WmmCofLineData.fromParts constructor Null safety

WmmCofLineData.fromParts(
  1. List<String> parts
)

From splitting a line.

Implementation

WmmCofLineData.fromParts(List<String> parts)
    : assert(parts.length == 6),
      n = int.parse(parts[0]),
      m = int.parse(parts[1]),
      gnm = double.parse(parts[2]),
      hnm = double.parse(parts[3]),
      dgnm = double.parse(parts[4]),
      dhnm = double.parse(parts[5]);