isSuccess property

bool get isSuccess

Implementation

bool get isSuccess => (statusCode ~/ 100) == 2;