parseOutputINTEGER method

int? parseOutputINTEGER(
  1. Object? value
)

Implementation

int? parseOutputINTEGER(Object? value) {
  if (value == null) return null;
  if (value is int) return value;
  if (value is num) return value.toInt();
  return int.parse('$value');
}