Round off double to int if double is string
static int? round(String string) => string.isNotEmptyOrNull && string.isNumber ? string.toDouble.round() : null;