setHeadersWithToken function

dynamic setHeadersWithToken(
  1. dynamic headers
)

Implementation

setHeadersWithToken(dynamic headers) async => {
  'Content-Type': 'Application/json',
  'X-API-KEY':  headers["public_key"],
  'X-PRIVATE-KEY': headers["private_key"],
  'X-SECRET-KEY': headers["secret_key"],
  'X-MARCHAND-KEY': headers["merchant_key"],
};