onErrorCallback static method
Implementation
static GeneralResponseCallback onErrorCallback(BuildContext context) =>
(GeneralResponse generalResponse) =>
ApUtils.showToast(context, generalResponse.message);
static GeneralResponseCallback onErrorCallback(BuildContext context) =>
(GeneralResponse generalResponse) =>
ApUtils.showToast(context, generalResponse.message);