Flag2 constructor
Flag2({
- required DateTime createdAt,
- Map<
String, Object> custom = const {}, - String? entityCreatorId,
- required String entityId,
- required String entityType,
- List<
String> labels = const [], - ModerationPayload? moderationPayload,
- String? moderationPayloadHash,
- String? reason,
- List<
Map< result = const [],String, Object> > - String? reviewQueueItemId,
- String? type,
- required DateTime updatedAt,
- UserObject? user,
Returns a new Flag2 instance.
Implementation
Flag2({
required this.createdAt,
this.custom = const {},
this.entityCreatorId,
required this.entityId,
required this.entityType,
this.labels = const [],
this.moderationPayload,
this.moderationPayloadHash,
this.reason,
this.result = const [],
this.reviewQueueItemId,
this.type,
required this.updatedAt,
this.user,
});