ConnectorConfiguration.fromJson constructor

ConnectorConfiguration.fromJson(
  1. Map json_
)

Implementation

ConnectorConfiguration.fromJson(core.Map json_)
    : this(
        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,
      );