ViewProfile method

Future<Profileviewmodel> ViewProfile(
  1. BuildContext context,
  2. String jsonBody
)

Implementation

Future<Profileviewmodel> ViewProfile(BuildContext context, String jsonBody) async {
  var response = await sdkapiservice.postData(context, jsonBody, AppUrl.VIEW_PROFILE,false);
  return Profileviewmodel.fromJson(response);
}