isOkCode property

bool get isOkCode

Checks if the status code specifically represents OK (200)

Implementation

bool get isOkCode => this == 200;