ReportCloseReportsInput class abstract
- Available extensions
- Annotations
-
- @freezed
Constructors
-
ReportCloseReportsInput({required String subject, @Default.new(false) bool includeAllOwned, int? reportId, List<
String> ? reportTypes, List<String> ? excludedReportTypes, int? actionEventId, String? internalNote, @Default.new(false) bool isAutomated, Map<String, dynamic> ? meta, Map<String, dynamic> ? $unknown}) -
constfactory
-
ReportCloseReportsInput.fromJson(Map<
String, Object?> json) -
factory
Properties
-
$unknown
→ Map<
String, dynamic> ? -
no setterinherited
- actionEventId → int?
-
Optional existing moderation event that closes reports. It must target the exact subject or its owning account; account-wide closure requires an account event. The event is linked to each closed report and may predate the report. The link does not imply the action is still in effect.
no setterinherited
-
copyWith
→ $ReportCloseReportsInputCopyWith<
ReportCloseReportsInput> -
Create a copy of ReportCloseReportsInput
with the given fields replaced by the non-null parameter values.
no setterinherited
-
excludedReportTypes
→ List<
String> ? -
no setterinherited
- hasActionEventId → bool
-
Available on ReportCloseReportsInput, provided by the ReportCloseReportsInputExtension extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- hasInternalNote → bool
-
Available on ReportCloseReportsInput, provided by the ReportCloseReportsInputExtension extension
no setter - hasMeta → bool
-
Available on ReportCloseReportsInput, provided by the ReportCloseReportsInputExtension extension
no setter - hasNotActionEventId → bool
-
Available on ReportCloseReportsInput, provided by the ReportCloseReportsInputExtension extension
no setter - hasNotInternalNote → bool
-
Available on ReportCloseReportsInput, provided by the ReportCloseReportsInputExtension extension
no setter - hasNotMeta → bool
-
Available on ReportCloseReportsInput, provided by the ReportCloseReportsInputExtension extension
no setter - hasNotReportId → bool
-
Available on ReportCloseReportsInput, provided by the ReportCloseReportsInputExtension extension
no setter - hasReportId → bool
-
Available on ReportCloseReportsInput, provided by the ReportCloseReportsInputExtension extension
no setter - includeAllOwned → bool
-
If true, also close reports on all subjects owned by the account, including records, messages, and conversations. Only valid when subject is an account DID.
no setterinherited
- internalNote → String?
-
Optional moderator-only note recorded on each close activity. Not visible to reporters.
no setterinherited
- isAutomated → bool
-
Set true when this action is triggered by an automated process. Defaults to false.
no setterinherited
- isIncludeAllOwned → bool
-
Available on ReportCloseReportsInput, provided by the ReportCloseReportsInputExtension extension
no setter - isIsAutomated → bool
-
Available on ReportCloseReportsInput, provided by the ReportCloseReportsInputExtension extension
no setter - isNotIncludeAllOwned → bool
-
Available on ReportCloseReportsInput, provided by the ReportCloseReportsInputExtension extension
no setter - isNotIsAutomated → bool
-
Available on ReportCloseReportsInput, provided by the ReportCloseReportsInputExtension extension
no setter -
meta
→ Map<
String, dynamic> ? -
no setterinherited
- reportId → int?
-
An explicitly targeted report in the requested subject scope. It is included even if assigned, escalated, or not in reportTypes; excludedReportTypes still applies.
no setterinherited
-
reportTypes
→ List<
String> ? -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subject → String
-
Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed.
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_ReportCloseReportsInput value)) → TResult -
Available on ReportCloseReportsInput, provided by the ReportCloseReportsInputPatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_ReportCloseReportsInput value)?) → TResult? -
Available on ReportCloseReportsInput, provided by the ReportCloseReportsInputPatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> (TResult $default(_ReportCloseReportsInput value)?, {required TResult orElse()}) → TResult -
Available on ReportCloseReportsInput, provided by the ReportCloseReportsInputPatterns extension
A variant ofmapthat fallback to returningorElse. -
maybeWhen<
TResult extends Object?> (TResult $default(String subject, bool includeAllOwned, int? reportId, List< String> ? reportTypes, List<String> ? excludedReportTypes, int? actionEventId, String? internalNote, bool isAutomated, Map<String, dynamic> ? meta, Map<String, dynamic> ? $unknown)?, {required TResult orElse()}) → TResult -
Available on ReportCloseReportsInput, provided by the ReportCloseReportsInputPatterns extension
A variant ofwhenthat fallback to anorElsecallback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this ReportCloseReportsInput to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(String subject, bool includeAllOwned, int? reportId, List< String> ? reportTypes, List<String> ? excludedReportTypes, int? actionEventId, String? internalNote, bool isAutomated, Map<String, dynamic> ? meta, Map<String, dynamic> ? $unknown)) → TResult -
Available on ReportCloseReportsInput, provided by the ReportCloseReportsInputPatterns extension
Aswitch-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(String subject, bool includeAllOwned, int? reportId, List< String> ? reportTypes, List<String> ? excludedReportTypes, int? actionEventId, String? internalNote, bool isAutomated, Map<String, dynamic> ? meta, Map<String, dynamic> ? $unknown)?) → TResult? -
Available on ReportCloseReportsInput, provided by the ReportCloseReportsInputPatterns extension
A variant ofwhenthat fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
knownProps
→ const List<
String>