TweetEditControls class
- Annotations
-
- @freezed
Constructors
- TweetEditControls({@JsonKey(name: 'is_edit_eligible') required bool isEditable, @JsonKey(name: 'edits_remaining') required int remainingCount, @JsonKey(name: 'editable_until') required DateTime expireAt})
-
constfactory
-
TweetEditControls.fromJson(Map<
String, Object?> json) -
factory
Properties
-
copyWith
→ $TweetEditControlsCopyWith<
TweetEditControls> -
no setterinherited
- expireAt → DateTime
-
Indicates when the permission to edit tweets will expire.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEditable → bool
-
A flag indicating whether the tweet is editable or not.
no setterinherited
- remainingCount → int
-
A number indicating how many more tweets will be allowed to be edited.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited