cast<E extends BaseServiceResponse> method
E
cast<E extends BaseServiceResponse>()
Implementation
E cast<E extends BaseServiceResponse>() {
if (this is! E) {
throw CastFailedException<E>(value: this);
}
return this as E;
}