FollowCreatedEvent class

Inheritance
Annotations
  • @freezed
  • @immutable
  • @JsonSerializable()

Constructors

FollowCreatedEvent.new({required DateTime createdAt, required Map<String, Object?> custom, String? feedVisibility, required String fid, required FollowResponse follow, DateTime? receivedAt, required String type})
const

Properties

copyWith → $FollowCreatedEventCopyWith<FollowCreatedEvent>
Create a copy of FollowCreatedEvent with the given fields replaced by the non-null parameter values.
no setterinherited
createdAt DateTime
final
custom Map<String, Object?>
final
error Object?
no setterinherited
feedVisibility String?
final
fid String
final
follow FollowResponse
final
hashCode int
The hash code for this object.
no setterinherited
healthCheckInfo HealthCheckInfo?
no setterinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setterinherited
receivedAt DateTime?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
type 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) FollowCreatedEvent