toRGBAString method Null safety

String toRGBAString()

RGB string with alpha

Implementation

String toRGBAString() {
  return "rgba(${_color!.red}, ${_color!.green}, ${_color!.blue}, ${_color!.alpha})";
}