isSuccess property

bool get isSuccess

Implementation

bool get isSuccess => !ret.any((e) =>
    e.ret == TronResultCode.failed ||
    (e.ret != null && e.ret != TronResultCode.sucess));