Dark constructor Null safety

Dark(
  1. {String? color}
)

Implementation

Dark({String? color}) {
  if (color != null) {
    _color = color;
  }
}