NBBorders constructor Null safety

NBBorders(
  1. {double? i0,
  2. double? s1,
  3. double? s2,
  4. double? s4,
  5. double? s8}
)

Implementation

NBBorders({double? i0, double? s1, double? s2, double? s4, double? s8}) {
  if (i0 != null) {
    _i0 = i0;
  }
  if (s1 != null) {
    _s1 = s1;
  }
  if (s2 != null) {
    _s2 = s2;
  }
  if (s4 != null) {
    _s4 = s4;
  }
  if (s8 != null) {
    _s8 = s8;
  }
}