toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (backupSchedules != null) 'backupSchedules': backupSchedules!,
  if (createTime != null) 'createTime': createTime!,
  if (database != null) 'database': database!,
  if (databaseDialect != null) 'databaseDialect': databaseDialect!,
  if (encryptionInfo != null) 'encryptionInfo': encryptionInfo!,
  if (encryptionInformation != null)
    'encryptionInformation': encryptionInformation!,
  if (exclusiveSizeBytes != null) 'exclusiveSizeBytes': exclusiveSizeBytes!,
  if (expireTime != null) 'expireTime': expireTime!,
  if (freeableSizeBytes != null) 'freeableSizeBytes': freeableSizeBytes!,
  if (incrementalBackupChainId != null)
    'incrementalBackupChainId': incrementalBackupChainId!,
  if (instancePartitions != null) 'instancePartitions': instancePartitions!,
  if (maxExpireTime != null) 'maxExpireTime': maxExpireTime!,
  if (name != null) 'name': name!,
  if (oldestVersionTime != null) 'oldestVersionTime': oldestVersionTime!,
  if (referencingBackups != null) 'referencingBackups': referencingBackups!,
  if (referencingDatabases != null)
    'referencingDatabases': referencingDatabases!,
  if (sizeBytes != null) 'sizeBytes': sizeBytes!,
  if (state != null) 'state': state!,
  if (versionTime != null) 'versionTime': versionTime!,
};