FeedResponse class
- Available extensions
- Annotations
-
- @freezed
- @immutable
- @JsonSerializable()
Constructors
-
FeedResponse.new({required DateTime createdAt, required UserResponse createdBy, Map<
String, Object?> ? custom, DateTime? deletedAt, required String description, required String feed, List<String> ? filterTags, required int followerCount, required int followingCount, required String groupId, required String id, required int memberCount, required String name, List<FollowResponse> ? ownFollows, required int pinCount, required DateTime updatedAt, String? visibility}) -
const
Properties
-
copyWith
→ $FeedResponseCopyWith<
FeedResponse> -
Create a copy of FeedResponse
with the given fields replaced by the non-null parameter values.
no setterinherited
- createdAt → DateTime
-
final
- createdBy → UserResponse
-
final
-
custom
→ Map<
String, Object?> ? -
final
- deletedAt → DateTime?
-
final
- description → String
-
final
- feed → String
-
final
-
filterTags
→ List<
String> ? -
final
- followerCount → int
-
final
- followingCount → int
-
final
- groupId → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- memberCount → int
-
final
- name → String
-
final
-
ownFollows
→ List<
FollowResponse> ? -
final
- pinCount → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updatedAt → DateTime
-
final
- visibility → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toModel(
) → FeedData -
Available on FeedResponse, provided by the FeedResponseMapper extension
Converts this API feed response to a domain FeedData instance. -
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) → FeedResponse