convertToIntIfDoubleValueWithoutNull function

int convertToIntIfDoubleValueWithoutNull(
  1. dynamic jsonValue
)

Implementation

int convertToIntIfDoubleValueWithoutNull(dynamic jsonValue) {
  return convertToIntIfDoubleValue(jsonValue) ?? 0;
}