CommunitySafe constructor
- @ForceUtcDateTime()
- @ForceUtcDateTimeNullable()
- @JsonSerializable(fieldRename: FieldRename.snake)
const
CommunitySafe(
{ - required int id,
- required String name,
- required String title,
- String? description,
- required bool removed,
- required DateTime published,
- DateTime? updated,
- required bool deleted,
- required bool nsfw,
- required String actorId,
- required bool local,
- String? icon,
- String? banner,
- required String instanceHost,
})
Implementation
@ForceUtcDateTime()
@ForceUtcDateTimeNullable()
@JsonSerializable(fieldRename: FieldRename.snake)
const factory CommunitySafe({
required int id,
required String name,
required String title,
String? description,
required bool removed,
required DateTime published,
DateTime? updated,
required bool deleted,
required bool nsfw,
required String actorId,
required bool local,
String? icon,
String? banner,
required String instanceHost,
}) = _CommunitySafe;