elCaribe app - customization and branding
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import 'package:news/utils/api.dart';
|
||||
import 'package:news/utils/strings.dart';
|
||||
|
||||
class SystemRepository {
|
||||
Future<dynamic> fetchSettings() async {
|
||||
try {
|
||||
final result = await Api.sendApiRequest(url: Api.getSettingApi, body: null, isGet: true);
|
||||
return result[DATA];
|
||||
} catch (e) {
|
||||
throw ApiException(e.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user