HeaderModel constructor

const HeaderModel({
  1. required String applicationId,
  2. required String methodId,
  3. required String versionNo,
  4. String? userId,
})

A model class for pine lab headers. applicationId assigned by pinelabs to your application. this application id is linked to your package id. userId is the user id of the user which is logged-in. methodId is the method id of the method which is called. versionNo for pinelabs.

Implementation

const HeaderModel({
  required this.applicationId,
  required this.methodId,
  required this.versionNo,
  this.userId,
});