-
Notifications
You must be signed in to change notification settings - Fork 42
Empty Response
Veli Bacik edited this page Nov 27, 2021
·
2 revisions
Your backend service if it returns primitive response(only string, number etc.), you can use like this.
final response = await networkManager.send<EmptyModel, EmptyModel>('/dogs/0/code.json',
parseModel: EmptyModel(), method: RequestType.GET);
My youtube channel: https://www.youtube.com/hardwareandro