CsrConfig.fromMap constructor
Creates a CsrConfig instance from a JSON-compatible Map.
The map keys are expected to follow the CSR naming convention.
Implementation
CsrConfig.fromMap(Map<String, dynamic> csrRaw) {
commonName = csrRaw["csr.common.name"];
serialNumber = csrRaw["csr.serial.number"];
organizationIdentifier = csrRaw["csr.organization.identifier"];
organizationUnitName = csrRaw["csr.organization.unit.name"];
organizationName = csrRaw["csr.organization.name"];
countryName = csrRaw["csr.country.name"];
invoiceType = csrRaw["csr.invoice.type"];
locationAddress = csrRaw["csr.location.address"];
industryBusinessCategory = csrRaw["csr.industry.business.category"];
}