getBackgroundColorFromAttribute function Null safety

dynamic getBackgroundColorFromAttribute(
  1. dynamic attribute
)

Implementation

Color getBackgroundColorFromAttribute(Attribute attribute) {
  return getBackgroundColor(getCardEvaluationFromAttribute(attribute));
}