isInteger = const isInstanceOf<int>()

Validates that expected result is an int.

Usage:

    var response = await client.request("/foo").get();
    expect(response, hasResponse(200, {"id": isInteger}));