NBRadius constructor Null safety

NBRadius(
  1. {double? none,
  2. double? xs,
  3. double? sm,
  4. double? md,
  5. double? lg,
  6. double? xl,
  7. double? i2xl,
  8. double? i3xl,
  9. double? full}
)

Implementation

NBRadius(
    {double? none,
    double? xs,
    double? sm,
    double? md,
    double? lg,
    double? xl,
    double? i2xl,
    double? i3xl,
    double? full}) {
  if (none != null) {
    _none = none;
  }
  if (xs != null) {
    _xs = xs;
  }
  if (sm != null) {
    _sm = sm;
  }
  if (md != null) {
    _md = md;
  }
  if (lg != null) {
    _lg = lg;
  }
  if (xl != null) {
    _xl = xl;
  }
  if (i2xl != null) {
    _i2xl = i2xl;
  }
  if (i3xl != null) {
    _i3xl = i3xl;
  }
  if (full != null) {
    _full = full;
  }
}