ifNullThrowBizException method

T ifNullThrowBizException([
  1. String message = ""
])

Implementation

T ifNullThrowBizException([String message = ""]) {
  if (this == null) {
    throw BaseApiException.businessException(message: message);
  }
  return this!;
}