copyWith method
copy new instance of HeaderModel.
Implementation
HeaderModel copyWith({
String? applicationId,
String? userId,
String? methodId,
String? versionNo,
}) {
return HeaderModel(
applicationId: applicationId ?? this.applicationId,
userId: userId ?? this.userId,
methodId: methodId ?? this.methodId,
versionNo: versionNo ?? this.versionNo,
);
}