toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalExtensions != null)
        'additionalExtensions':
            additionalExtensions!.map((value) => value.toJson()).toList(),
      if (aiaOcspServers != null) 'aiaOcspServers': aiaOcspServers!,
      if (caOptions != null) 'caOptions': caOptions!.toJson(),
      if (keyUsage != null) 'keyUsage': keyUsage!.toJson(),
      if (policyIds != null)
        'policyIds': policyIds!.map((value) => value.toJson()).toList(),
    };