call static method

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

Implementation

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