toColor property

Color toColor

Implementation

Color get toColor {
  if (this == null) {
    return Colors.transparent;
  }
  return Color(int.parse(this!, radix: 16)).withOpacity(1);
}