maybeColor method

IrColor? maybeColor(
  1. String role
)

Implementation

IrColor? maybeColor(String role) {
  final argb = colorScheme[role];
  return argb == null
      ? null
      : IrColor.fromArgb32(argb, token: colorToken(role));
}