ConnectMetric constructor
ConnectMetric({
- Timestamp? date,
- int? numberOfRequests,
- int? numberOfConsentTrue,
- int? numberOfConsentFalse,
- int? numberOfAgeGroup1To12,
- int? numberOfAgeGroup13To19,
- int? numberOfAgeGroup20To29,
- int? numberOfAgeGroup30To39,
- int? numberOfAgeGroup40To49,
- int? numberOfAgeGroup50To59,
- int? numberOfAgeGroup60To69,
- int? numberOfAgeGroup70To79,
- int? numberOfAgeGroup80To89,
- int? numberOfAgeGroup90To99,
- int? numberOfAgeGroup100To120,
- int? numberOfFemales,
- int? numberOfMales,
- int? numberOfOthers,
- int? amountFromDk,
- int? amountFromNo,
- int? amountFromDe,
Implementation
factory ConnectMetric({
$1.Timestamp? date,
$core.int? numberOfRequests,
$core.int? numberOfConsentTrue,
$core.int? numberOfConsentFalse,
$core.int? numberOfAgeGroup1To12,
$core.int? numberOfAgeGroup13To19,
$core.int? numberOfAgeGroup20To29,
$core.int? numberOfAgeGroup30To39,
$core.int? numberOfAgeGroup40To49,
$core.int? numberOfAgeGroup50To59,
$core.int? numberOfAgeGroup60To69,
$core.int? numberOfAgeGroup70To79,
$core.int? numberOfAgeGroup80To89,
$core.int? numberOfAgeGroup90To99,
$core.int? numberOfAgeGroup100To120,
$core.int? numberOfFemales,
$core.int? numberOfMales,
$core.int? numberOfOthers,
$core.int? amountFromDk,
$core.int? amountFromNo,
$core.int? amountFromDe,
}) {
final _result = create();
if (date != null) {
_result.date = date;
}
if (numberOfRequests != null) {
_result.numberOfRequests = numberOfRequests;
}
if (numberOfConsentTrue != null) {
_result.numberOfConsentTrue = numberOfConsentTrue;
}
if (numberOfConsentFalse != null) {
_result.numberOfConsentFalse = numberOfConsentFalse;
}
if (numberOfAgeGroup1To12 != null) {
_result.numberOfAgeGroup1To12 = numberOfAgeGroup1To12;
}
if (numberOfAgeGroup13To19 != null) {
_result.numberOfAgeGroup13To19 = numberOfAgeGroup13To19;
}
if (numberOfAgeGroup20To29 != null) {
_result.numberOfAgeGroup20To29 = numberOfAgeGroup20To29;
}
if (numberOfAgeGroup30To39 != null) {
_result.numberOfAgeGroup30To39 = numberOfAgeGroup30To39;
}
if (numberOfAgeGroup40To49 != null) {
_result.numberOfAgeGroup40To49 = numberOfAgeGroup40To49;
}
if (numberOfAgeGroup50To59 != null) {
_result.numberOfAgeGroup50To59 = numberOfAgeGroup50To59;
}
if (numberOfAgeGroup60To69 != null) {
_result.numberOfAgeGroup60To69 = numberOfAgeGroup60To69;
}
if (numberOfAgeGroup70To79 != null) {
_result.numberOfAgeGroup70To79 = numberOfAgeGroup70To79;
}
if (numberOfAgeGroup80To89 != null) {
_result.numberOfAgeGroup80To89 = numberOfAgeGroup80To89;
}
if (numberOfAgeGroup90To99 != null) {
_result.numberOfAgeGroup90To99 = numberOfAgeGroup90To99;
}
if (numberOfAgeGroup100To120 != null) {
_result.numberOfAgeGroup100To120 = numberOfAgeGroup100To120;
}
if (numberOfFemales != null) {
_result.numberOfFemales = numberOfFemales;
}
if (numberOfMales != null) {
_result.numberOfMales = numberOfMales;
}
if (numberOfOthers != null) {
_result.numberOfOthers = numberOfOthers;
}
if (amountFromDk != null) {
_result.amountFromDk = amountFromDk;
}
if (amountFromNo != null) {
_result.amountFromNo = amountFromNo;
}
if (amountFromDe != null) {
_result.amountFromDe = amountFromDe;
}
return _result;
}