isSuccess method

bool isSuccess()

Implementation

bool isSuccess() => code == 0 || code == 200;