Last updated:
0 purchases
http code util
http_code_util #
Http code util is a simple dart plugin that abstracts http response status code checking for your projects
Example #
class Test with StatusCodeUtil{
int code = 400;
void main() {
if (isForbidden(code) || isBadRequest(code)) {
print("is true");
} else {
// Do on failure
print("is false");
}
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.