toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowedCommonNames != null)
        'allowedCommonNames': allowedCommonNames!,
      if (allowedConfigList != null)
        'allowedConfigList': allowedConfigList!.toJson(),
      if (allowedIssuanceModes != null)
        'allowedIssuanceModes': allowedIssuanceModes!.toJson(),
      if (allowedLocationsAndOrganizations != null)
        'allowedLocationsAndOrganizations': allowedLocationsAndOrganizations!
            .map((value) => value.toJson())
            .toList(),
      if (allowedSans != null) 'allowedSans': allowedSans!.toJson(),
      if (maximumLifetime != null) 'maximumLifetime': maximumLifetime!,
      if (overwriteConfigValues != null)
        'overwriteConfigValues': overwriteConfigValues!.toJson(),
    };