toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (backupRetentionSettings != null)
        'backupRetentionSettings': backupRetentionSettings!.toJson(),
      if (binaryLogEnabled != null) 'binaryLogEnabled': binaryLogEnabled!,
      if (enabled != null) 'enabled': enabled!,
      if (kind != null) 'kind': kind!,
      if (location != null) 'location': location!,
      if (pointInTimeRecoveryEnabled != null)
        'pointInTimeRecoveryEnabled': pointInTimeRecoveryEnabled!,
      if (replicationLogArchivingEnabled != null)
        'replicationLogArchivingEnabled': replicationLogArchivingEnabled!,
      if (startTime != null) 'startTime': startTime!,
      if (transactionLogRetentionDays != null)
        'transactionLogRetentionDays': transactionLogRetentionDays!,
    };