getStatusChatForPlatformId method

  1. @override
Future<NetworkResponse> getStatusChatForPlatformId(
  1. dynamic params
)
override

Implementation

@override
Future<NetworkResponse> getStatusChatForPlatformId(params) async {
  return await handleNetworkError(
    proccess: () async {
      Response response =
          await AppClient(token: await appPrefs.getNormalToken()).get(
              _MyAppEndpoint.getStatusChatForPlatformId(),
              queryParameters: params);
      return NetworkResponse.fromResponse(
        response,
        converter: (json) => PlatformStatusChat.fromJson(json),
      );
    },
  );
}