IBMDb2Settings.fromJson constructor

IBMDb2Settings.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory IBMDb2Settings.fromJson(Map<String, dynamic> json) {
  return IBMDb2Settings(
    currentLsn: json['CurrentLsn'] as String?,
    databaseName: json['DatabaseName'] as String?,
    maxKBytesPerRead: json['MaxKBytesPerRead'] as int?,
    password: json['Password'] as String?,
    port: json['Port'] as int?,
    secretsManagerAccessRoleArn:
        json['SecretsManagerAccessRoleArn'] as String?,
    secretsManagerSecretId: json['SecretsManagerSecretId'] as String?,
    serverName: json['ServerName'] as String?,
    setDataCaptureChanges: json['SetDataCaptureChanges'] as bool?,
    username: json['Username'] as String?,
  );
}