toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (createTime != null) 'createTime': createTime!,
  if (databaseDialect != null) 'databaseDialect': databaseDialect!,
  if (defaultLeader != null) 'defaultLeader': defaultLeader!,
  if (earliestVersionTime != null)
    'earliestVersionTime': earliestVersionTime!,
  if (enableDropProtection != null)
    'enableDropProtection': enableDropProtection!,
  if (encryptionConfig != null) 'encryptionConfig': encryptionConfig!,
  if (encryptionInfo != null) 'encryptionInfo': encryptionInfo!,
  if (name != null) 'name': name!,
  if (quorumInfo != null) 'quorumInfo': quorumInfo!,
  if (reconciling != null) 'reconciling': reconciling!,
  if (restoreInfo != null) 'restoreInfo': restoreInfo!,
  if (state != null) 'state': state!,
  if (versionRetentionPeriod != null)
    'versionRetentionPeriod': versionRetentionPeriod!,
};