initializeService static method
Implementation
static Future<AppUpdate?> initializeService(baseUrl) async {
final response =
await httpClient.get(Uri.parse(baseUrl + 'contentDetails/AppUpdation'));
if (response.statusCode == 200 || response.statusCode == 201) {
return appUpdateFromJson(response.body);
} else {
return null;
}
}