24 lines
715 B
Dart
24 lines
715 B
Dart
|
|
import 'dart:developer';
|
||
|
|
|
||
|
|
import 'package:regroup/Common/api_urls.dart';
|
||
|
|
import 'package:regroup/Common/base_manager.dart';
|
||
|
|
import 'package:regroup/Common/controller/data/network/network_api.dart';
|
||
|
|
import 'package:regroup/Main_Screens/Community/Model/fetchicons.dart';
|
||
|
|
|
||
|
|
// FetchlikeIconsModel? likeiconsobj;
|
||
|
|
|
||
|
|
class Communityallgetmethod {
|
||
|
|
|
||
|
|
Future<ResponseData<dynamic>> getLikeicons() async {
|
||
|
|
final response = await NetworkApiServices().getApi(
|
||
|
|
ApiUrls.getLikeicons,
|
||
|
|
// optionalpar: false
|
||
|
|
);
|
||
|
|
if (response.status == ResponseStatus.SUCCESS) {
|
||
|
|
// likeiconsobj = FetchlikeIconsModel.fromJson(response.data);
|
||
|
|
// log(likeiconsobj!.data.toString());
|
||
|
|
}
|
||
|
|
return response;
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|