toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final bootstrapServers = this.bootstrapServers;
  final clusterId = this.clusterId;
  final consumerPropertiesFile = this.consumerPropertiesFile;
  final keyStoreFile = this.keyStoreFile;
  final keyStorePassword = this.keyStorePassword;
  final keyStorePasswordSecretVersion = this.keyStorePasswordSecretVersion;
  final password = this.password;
  final passwordSecretVersion = this.passwordSecretVersion;
  final producerPropertiesFile = this.producerPropertiesFile;
  final securityProtocol = this.securityProtocol;
  final sslKeyPassword = this.sslKeyPassword;
  final sslKeyPasswordSecretVersion = this.sslKeyPasswordSecretVersion;
  final streamPoolId = this.streamPoolId;
  final technologyType = this.technologyType;
  final trustStoreFile = this.trustStoreFile;
  final trustStorePassword = this.trustStorePassword;
  final trustStorePasswordSecretVersion =
      this.trustStorePasswordSecretVersion;
  final useResourcePrincipal = this.useResourcePrincipal;
  final username = this.username;
  return {
    'bootstrapServers': ?bootstrapServers,
    'clusterId': ?clusterId,
    'consumerPropertiesFile': ?consumerPropertiesFile,
    'keyStoreFile': ?keyStoreFile,
    'keyStorePassword': ?keyStorePassword,
    'keyStorePasswordSecretVersion': ?keyStorePasswordSecretVersion,
    'password': ?password,
    'passwordSecretVersion': ?passwordSecretVersion,
    'producerPropertiesFile': ?producerPropertiesFile,
    'securityProtocol': ?securityProtocol,
    'sslKeyPassword': ?sslKeyPassword,
    'sslKeyPasswordSecretVersion': ?sslKeyPasswordSecretVersion,
    'streamPoolId': ?streamPoolId,
    'technologyType': ?technologyType,
    'trustStoreFile': ?trustStoreFile,
    'trustStorePassword': ?trustStorePassword,
    'trustStorePasswordSecretVersion': ?trustStorePasswordSecretVersion,
    'useResourcePrincipal': ?useResourcePrincipal,
    'username': ?username,
  };
}