MSitefParams.fromMap constructor
MSitefParams.fromMap(
- Map<String, dynamic> map
)
Implementation
factory MSitefParams.fromMap(Map<String, dynamic> map) {
return MSitefParams(
modalidade: map['modalidade'] != null ? MSitefType.fromString(['modalidade'] as String) : MSitefType.credit,
value: map['value'] != null ? map['value'] as String : null,
couponNumber: map['couponNumber'] != null ? map['couponNumber'] as String : null,
dateFiscal: map['dateFiscal'] != null ? map['dateFiscal'] as String : null,
hourFiscal: map['hourFiscal'] != null ? map['hourFiscal'] as String : null,
operador: map['operador'] != null ? map['operador'] as String : null,
params: map['params'] != null ? map['params'] as String : null,
ipSitef: map['ipSitef'] != null ? map['ipSitef'] as String : null,
storeId: map['storeId'] != null ? map['storeId'] as String : null,
terminalId: map['terminalId'] != null ? map['terminalId'] as String : null,
paramsAdd: map['paramsAdd'] != null ? map['paramsAdd'] as String : null,
companyDocument: map['companyDocument'] != null ? map['companyDocument'] as String : null,
comExternal: map['comExternal'] != null ? map['comExternal'] as String : null,
isDoubleValidation: map['isDoubleValidation'] != null ? map['isDoubleValidation'] as String : null,
otp: map['otp'] != null ? map['otp'] as String : null,
enabledTransactions: map['enabledTransactions'] != null ? map['enabledTransactions'] as String : null,
automationDocument: map['automationDocument'] != null ? map['automationDocument'] as String : null,
);
}