toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final dbClusterParameterGroupStatus = this.dbClusterParameterGroupStatus;
  final dbInstanceIdentifier = this.dbInstanceIdentifier;
  final isClusterWriter = this.isClusterWriter;
  final promotionTier = this.promotionTier;
  return {
    if (dbClusterParameterGroupStatus != null)
      'DbClusterParameterGroupStatus': dbClusterParameterGroupStatus,
    if (dbInstanceIdentifier != null)
      'DbInstanceIdentifier': dbInstanceIdentifier,
    if (isClusterWriter != null) 'IsClusterWriter': isClusterWriter,
    if (promotionTier != null) 'PromotionTier': promotionTier,
  };
}