isSuccessful property

bool get isSuccessful

Implementation

bool get isSuccessful =>
    this?.statusCode != null &&
    this!.statusCode! >= 200 &&
    this!.statusCode! < 300;