bodyAsInteger method

int bodyAsInteger()

Implementation

int bodyAsInteger() {
  return int.parse(data.toString());
}