MastodonAdminPreviewCardProvider class
Admin-level preview card provider.
Represents admin information for a trending link provider domain.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- MastodonAdminPreviewCardProvider({required String id, required String domain, bool? trendable, DateTime? reviewedAt, DateTime? requestedReviewAt, bool? requiresReview})
-
const
-
MastodonAdminPreviewCardProvider.fromJson(Map<
String, dynamic> json) -
factory
Properties
- domain → String
-
Domain name of the provider.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Database ID of the provider.
final
- requestedReviewAt → DateTime?
-
Timestamp when a review was requested.
final
- requiresReview → bool?
-
Whether moderator review is required.
final
- reviewedAt → DateTime?
-
Timestamp when a moderator reviewed the provider.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trendable → bool?
-
Whether the provider is approved to appear as a trend.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited