getInBg method

Future<Map<String, dynamic>> getInBg(
  1. String endPoint,
  2. Map<String, dynamic> headers
)

Sends a GET request in the background.

endPoint - The API endpoint from which to retrieve data. headers - The request headers.

Returns a Future containing a Map<String, dynamic> with the response.

Implementation

Future<Map<String, dynamic>> getInBg(
        String endPoint, Map<String, dynamic> headers) =>
    _apiManagerImpl.getInBg(endPoint, headers);