isSuccess property Null safety

bool isSuccess

Implementation

bool get isSuccess => code == 0 || code == 200;