ConnectorConfiguration.fromJson constructor

ConnectorConfiguration.fromJson(
  1. Map json_
)

Implementation

ConnectorConfiguration.fromJson(core.Map json_)
    : this(
        asset: json_.containsKey('asset')
            ? ConnectorConfigurationAsset.fromJson(
                json_['asset'] as core.Map<core.String, core.dynamic>)
            : null,
        authentication: json_.containsKey('authentication')
            ? ConnectorConfigurationAuthentication.fromJson(
                json_['authentication']
                    as core.Map<core.String, core.dynamic>)
            : null,
        connectorId: json_.containsKey('connectorId')
            ? json_['connectorId'] as core.String
            : null,
        endpoint: json_.containsKey('endpoint')
            ? ConnectorConfigurationEndpoint.fromJson(
                json_['endpoint'] as core.Map<core.String, core.dynamic>)
            : null,
        network: json_.containsKey('network')
            ? ConnectorConfigurationNetwork.fromJson(
                json_['network'] as core.Map<core.String, core.dynamic>)
            : null,
      );