ActivityRequest class
- Annotations
-
- @freezed
- @immutable
- @JsonSerializable.new()
Constructors
-
ActivityRequest({List<
Attachment> ? attachments, List<String> ? collectionRefs, Map<String, Object?> ? custom, String? expiresAt, required List<String> feeds, List<String> ? filterTags, String? id, List<String> ? interestTags, ActivityLocation? location, List<String> ? mentionedUserIds, String? parentId, String? pollId, ActivityRequestRestrictReplies? restrictReplies, Map<String, Object?> ? searchData, bool? skipEnrichUrl, String? text, required String type, ActivityRequestVisibility? visibility, String? visibilityTag}) -
const
Properties
-
attachments
→ List<
Attachment> ? -
final
-
collectionRefs
→ List<
String> ? -
final
-
copyWith
→ $ActivityRequestCopyWith<
ActivityRequest> -
Create a copy of ActivityRequest
with the given fields replaced by the non-null parameter values.
no setterinherited
-
custom
→ Map<
String, Object?> ? -
final
- expiresAt → String?
-
final
-
feeds
→ List<
String> -
final
-
filterTags
→ List<
String> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
-
interestTags
→ List<
String> ? -
final
- location → ActivityLocation?
-
final
-
mentionedUserIds
→ List<
String> ? -
final
- parentId → String?
-
final
- pollId → String?
-
final
- restrictReplies → ActivityRequestRestrictReplies?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
searchData
→ Map<
String, Object?> ? -
final
- skipEnrichUrl → bool?
-
final
- text → String?
-
final
- type → String
-
final
- visibility → ActivityRequestVisibility?
-
final
- visibilityTag → String?
-
final
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
Static Methods
-
fromJson(
Map< String, dynamic> json) → ActivityRequest