readOptionalColor function

int? readOptionalColor(
  1. String? color
)

Implementation

int? readOptionalColor(String? color) =>
    _readOptional((color?.isEmpty ?? true) ? null : color, readColor);