EnrichedReaction class

Constructors

EnrichedReaction({required String activityId, Map<String, int> childrenCounts = const {}, Object? createdAt, Map<String, Object> data = const {}, String? id, required String kind, Map<String, List<EnrichedReaction>> latestChildren = const {}, Map<String, List<EnrichedReaction>> ownChildren = const {}, String? parent, List<String> targetFeeds = const [], Object? updatedAt, Data? user, required String userId})
Returns a new EnrichedReaction instance.

Properties

activityId String
getter/setter pair
childrenCounts Map<String, int>
getter/setter pair
createdAt Object?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
data Map<String, Object>
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
kind String
getter/setter pair
latestChildren Map<String, List<EnrichedReaction>>
getter/setter pair
ownChildren Map<String, List<EnrichedReaction>>
getter/setter pair
parent String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetFeeds List<String>
getter/setter pair
updatedAt Object?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
user Data?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
userId String
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.
override

Operators

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

Static Methods

fromJson(dynamic value) EnrichedReaction?
Returns a new EnrichedReaction instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<EnrichedReaction>
mapFromJson(dynamic json) Map<String, EnrichedReaction>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<EnrichedReaction>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.