EnrichedActivity class
- Annotations
-
- @freezed
- @immutable
- @JsonSerializable()
Constructors
-
EnrichedActivity.new({Data? actor, String? foreignId, String? id, Map<
String, List< ? latestReactions, Data? object, Data? origin, Map<EnrichedReaction> >String, List< ? ownReactions, Map<EnrichedReaction> >String, int> ? reactionCounts, double? score, Data? target, List<String> ? to, String? verb}) -
const
Properties
- actor → Data?
-
final
-
copyWith
→ $EnrichedActivityCopyWith<
EnrichedActivity> -
Create a copy of EnrichedActivity
with the given fields replaced by the non-null parameter values.
no setterinherited
- foreignId → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
-
latestReactions
→ Map<
String, List< ?EnrichedReaction> > -
final
- object → Data?
-
final
- origin → Data?
-
final
-
ownReactions
→ Map<
String, List< ?EnrichedReaction> > -
final
-
reactionCounts
→ Map<
String, int> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score → double?
-
final
- target → Data?
-
final
-
to
→ List<
String> ? -
final
- verb → 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) → EnrichedActivity