isSuccessful property

bool get isSuccessful

Implementation

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