onSuccess property

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

called on success this instance of Network Manager request

Implementation

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