onErrorCallback static method

GeneralResponseCallback onErrorCallback(
  1. BuildContext context
)

Implementation

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