sendSuccess method
Implementation
void sendSuccess(dynamic data, {bool jsonData = false}) {
_sendRes(
HttpStatus.ok,
data: data,
jsonData: jsonData,
);
}
void sendSuccess(dynamic data, {bool jsonData = false}) {
_sendRes(
HttpStatus.ok,
data: data,
jsonData: jsonData,
);
}