RequestHandler constructor

RequestHandler({
  1. required String consumerKey,
  2. required String consumerSecret,
  3. required String baseUrl,
})

For instantiation, create the key secret on the fly with received values.

Implementation

RequestHandler({required this.consumerKey, required this.consumerSecret, required this.baseUrl})
    : b64keySecret =
          base64Url.encode((consumerKey + ":" + consumerSecret).codeUnits);