convertToColor static method

int convertToColor(
  1. String x
)

Implementation

static int convertToColor(String x) => int.parse(x);