excelColor property

ExcelColor excelColor

Return ExcelColor.black if not a color hexadecimal

Implementation

ExcelColor get excelColor => this == 'none'
    ? ExcelColor.none
    : _assertHexString(this)
        ? ExcelColor.valuesAsMap[this] ?? ExcelColor._(this)
        : ExcelColor.black;