Space class
A space in Google Chat.
Spaces are conversations between two or more users or 1:1 messages between a user and a Chat app.
Constructors
- Space({bool? adminInstalled, String? createTime, String? displayName, bool? externalUserAllowed, bool? importMode, String? name, bool? singleUserBotDm, SpaceDetails? spaceDetails, String? spaceHistoryState, String? spaceThreadingState, String? spaceType, bool? threaded, String? type})
- Space.fromJson(Map json_)
Properties
- adminInstalled ↔ bool?
-
Whether the Chat app was installed by a Google Workspace administrator.
getter/setter pair
- createTime ↔ String?
-
For spaces created in Chat, the time the space was created.
getter/setter pair
- displayName ↔ String?
-
The space's display name.
getter/setter pair
- externalUserAllowed ↔ bool?
-
Whether this space permits any Google Chat user as a member.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- importMode ↔ bool?
-
Whether this space is created in
Import Mode
as part of a data migration into Google Workspace.getter/setter pair - name ↔ String?
-
Resource name of the space.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- singleUserBotDm ↔ bool?
-
Whether the space is a DM between a Chat app and a single human.
getter/setter pair
- spaceDetails ↔ SpaceDetails?
-
Details about the space including description and rules.
getter/setter pair
- spaceHistoryState ↔ String?
-
The message history state for messages and threads in this space.
Possible string values are:
getter/setter pair
- spaceThreadingState ↔ String?
-
The threading state in the Chat space.
getter/setter pair
- spaceType ↔ String?
-
The type of space.
getter/setter pair
- threaded ↔ bool?
-
Deprecated: Use
spaceThreadingState
instead.getter/setter pair - type ↔ String?
-
Deprecated: Use
space_type
instead.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