call static method
Implementation
static Future<ApiCallResponse> call({
String? platform = '',
String? tenant = '',
String? authorization = '',
String? baseUrl = '',
String? transactionType = '',
String? transactionReference = '',
int? pageSize,
int? pageIndex,
}) async {
return ApiManager.instance.makeApiCall(
callName: 'getNotifications',
apiUrl: '${baseUrl}api/blayzNotification/api/Notification/fetch',
callType: ApiCallType.GET,
headers: {
'accept': 'application/json',
'platform': '${platform}',
'tenant': '${tenant}',
'Authorization': '${authorization}',
},
params: {},
returnBody: true,
encodeBodyUtf8: false,
decodeUtf8: false,
cache: false,
);
}