MSitefMenuParams.fromMap constructor

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

Implementation

factory MSitefMenuParams.fromMap(Map<String, dynamic> map) {
  return MSitefMenuParams(
    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,
    tokenRegistroTls: map['tokenRegistroTls'] != null ? map['tokenRegistroTls'] as String : null,
  );
}