InternalServerConfig.fromJson constructor

InternalServerConfig.fromJson(
  1. Map json_
)

Implementation

InternalServerConfig.fromJson(core.Map json_)
  : this(
      consumerAcceptList: (json_['consumerAcceptList'] as core.List?)
          ?.map(
            (value) => AllowedConsumer.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      consumerRejectList: (json_['consumerRejectList'] as core.List?)
          ?.map(
            (value) => DeniedConsumer.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      pscEndpoints: (json_['pscEndpoints'] as core.List?)
          ?.map(
            (value) => PscEndpoint.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      serviceAttachment: json_['serviceAttachment'] as core.String?,
    );