call static method
Implementation
static Future<ApiCallResponse?> call({
String? pushNotificationType = '',
String? baseUrl = '',
String? platform = '',
String? tenant = '',
String? authorization = '',
}) {
final body = '''
{
"PushNotificationType": "${pushNotificationType}",
}''';
return ApiManager.instance.makeApiCall(
callName: 'resendotptrans',
apiUrl: '${baseUrl}api/blayzAuth/api/Auth/transaction-otp/resend-otp',
callType: ApiCallType.POST,
headers: {
'platform': '${platform}',
'tenant': '${tenant}',
'accept': 'application/json',
'Authorization': '${authorization}',
},
params: {'PushNotificationType': pushNotificationType},
body: body,
bodyType: BodyType.JSON,
returnBody: true,
);
}