toColor method

Color? toColor()

Implementation

Color? toColor() {
  if (this == null) return null;

  return this!.toColor();
}