onFailed property

void Function(BuildContext context, SMResponse responseJson) onFailed
getter/setter pair

called on failed this instance of Network Manager request

Implementation

void Function(BuildContext context, SMResponse responseJson) onFailed =
    (BuildContext context, SMResponse responseJson) {};