toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (eventTime != null) 'eventTime': eventTime!,
if (eventType != null) 'eventType': eventType!,
if (membershipBatchCreatedEventData != null)
'membershipBatchCreatedEventData': membershipBatchCreatedEventData!,
if (membershipBatchDeletedEventData != null)
'membershipBatchDeletedEventData': membershipBatchDeletedEventData!,
if (membershipBatchUpdatedEventData != null)
'membershipBatchUpdatedEventData': membershipBatchUpdatedEventData!,
if (membershipCreatedEventData != null)
'membershipCreatedEventData': membershipCreatedEventData!,
if (membershipDeletedEventData != null)
'membershipDeletedEventData': membershipDeletedEventData!,
if (membershipUpdatedEventData != null)
'membershipUpdatedEventData': membershipUpdatedEventData!,
if (messageBatchCreatedEventData != null)
'messageBatchCreatedEventData': messageBatchCreatedEventData!,
if (messageBatchDeletedEventData != null)
'messageBatchDeletedEventData': messageBatchDeletedEventData!,
if (messageBatchUpdatedEventData != null)
'messageBatchUpdatedEventData': messageBatchUpdatedEventData!,
if (messageCreatedEventData != null)
'messageCreatedEventData': messageCreatedEventData!,
if (messageDeletedEventData != null)
'messageDeletedEventData': messageDeletedEventData!,
if (messageUpdatedEventData != null)
'messageUpdatedEventData': messageUpdatedEventData!,
if (name != null) 'name': name!,
if (reactionBatchCreatedEventData != null)
'reactionBatchCreatedEventData': reactionBatchCreatedEventData!,
if (reactionBatchDeletedEventData != null)
'reactionBatchDeletedEventData': reactionBatchDeletedEventData!,
if (reactionCreatedEventData != null)
'reactionCreatedEventData': reactionCreatedEventData!,
if (reactionDeletedEventData != null)
'reactionDeletedEventData': reactionDeletedEventData!,
if (spaceBatchUpdatedEventData != null)
'spaceBatchUpdatedEventData': spaceBatchUpdatedEventData!,
if (spaceUpdatedEventData != null)
'spaceUpdatedEventData': spaceUpdatedEventData!,
};