SpaceEvent class

An event that represents a change or activity in a Google Chat space.

To learn more, see Work with events from Google Chat.

Constructors

SpaceEvent({String? eventTime, String? eventType, MembershipBatchCreatedEventData? membershipBatchCreatedEventData, MembershipBatchDeletedEventData? membershipBatchDeletedEventData, MembershipBatchUpdatedEventData? membershipBatchUpdatedEventData, MembershipCreatedEventData? membershipCreatedEventData, MembershipDeletedEventData? membershipDeletedEventData, MembershipUpdatedEventData? membershipUpdatedEventData, MessageBatchCreatedEventData? messageBatchCreatedEventData, MessageBatchDeletedEventData? messageBatchDeletedEventData, MessageBatchUpdatedEventData? messageBatchUpdatedEventData, MessageCreatedEventData? messageCreatedEventData, MessageDeletedEventData? messageDeletedEventData, MessageUpdatedEventData? messageUpdatedEventData, String? name, ReactionBatchCreatedEventData? reactionBatchCreatedEventData, ReactionBatchDeletedEventData? reactionBatchDeletedEventData, ReactionCreatedEventData? reactionCreatedEventData, ReactionDeletedEventData? reactionDeletedEventData, SpaceBatchUpdatedEventData? spaceBatchUpdatedEventData, SpaceUpdatedEventData? spaceUpdatedEventData})
SpaceEvent.fromJson(Map json_)

Properties

eventTime String?
Time when the event occurred.
getter/setter pair
eventType String?
Type of space event.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
membershipBatchCreatedEventData MembershipBatchCreatedEventData?
Event payload for multiple new memberships.
getter/setter pair
membershipBatchDeletedEventData MembershipBatchDeletedEventData?
Event payload for multiple deleted memberships.
getter/setter pair
membershipBatchUpdatedEventData MembershipBatchUpdatedEventData?
Event payload for multiple updated memberships.
getter/setter pair
membershipCreatedEventData MembershipCreatedEventData?
Event payload for a new membership.
getter/setter pair
membershipDeletedEventData MembershipDeletedEventData?
Event payload for a deleted membership.
getter/setter pair
membershipUpdatedEventData MembershipUpdatedEventData?
Event payload for an updated membership.
getter/setter pair
messageBatchCreatedEventData MessageBatchCreatedEventData?
Event payload for multiple new messages.
getter/setter pair
messageBatchDeletedEventData MessageBatchDeletedEventData?
Event payload for multiple deleted messages.
getter/setter pair
messageBatchUpdatedEventData MessageBatchUpdatedEventData?
Event payload for multiple updated messages.
getter/setter pair
messageCreatedEventData MessageCreatedEventData?
Event payload for a new message.
getter/setter pair
messageDeletedEventData MessageDeletedEventData?
Event payload for a deleted message.
getter/setter pair
messageUpdatedEventData MessageUpdatedEventData?
Event payload for an updated message.
getter/setter pair
name String?
Resource name of the space event.
getter/setter pair
reactionBatchCreatedEventData ReactionBatchCreatedEventData?
Event payload for multiple new reactions.
getter/setter pair
reactionBatchDeletedEventData ReactionBatchDeletedEventData?
Event payload for multiple deleted reactions.
getter/setter pair
reactionCreatedEventData ReactionCreatedEventData?
Event payload for a new reaction.
getter/setter pair
reactionDeletedEventData ReactionDeletedEventData?
Event payload for a deleted reaction.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spaceBatchUpdatedEventData SpaceBatchUpdatedEventData?
Event payload for multiple updates to a space.
getter/setter pair
spaceUpdatedEventData SpaceUpdatedEventData?
Event payload for a space update.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited