HeaderModel.fromMap constructor

HeaderModel.fromMap(
  1. Map<String, dynamic> map
)

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'] ?? '',
  );
}