call static method

Future<ApiCallResponse> call({
  1. String? platform = '',
  2. String? tenant = '',
  3. String? authorization = '',
  4. String? baseUrl = '',
})

Implementation

static Future<ApiCallResponse> call({
  String? platform = '',
  String? tenant = '',
  String? authorization = '',
  String? baseUrl = '',
}) {
  return ApiManager.instance.makeApiCall(
    callName: 'limitManagement',
    apiUrl: '${baseUrl}api/blayzPay/account/limit',
    callType: ApiCallType.GET,
    headers: {
      'accept': 'application/json',
      'platform': '${platform}',
      'tenant': '${tenant}',
      'Authorization': '${authorization}',
    },
    returnBody: true,
    encodeBodyUtf8: false,
    decodeUtf8: false,
    cache: true,
  );
}