HeaderModel.fromMap constructor
get HeaderModel from map
.
Implementation
factory HeaderModel.fromMap(Map<String, dynamic> map) {
return HeaderModel(
applicationId: map['ApplicationId'] ?? '',
userId: map['UserId'],
methodId: map['MethodId'] ?? '',
versionNo: map['VersionNo'] ?? '',
);
}