PersonSafe constructor
- @ForceUtcDateTime()
- @ForceUtcDateTimeNullable()
- @JsonSerializable(fieldRename: FieldRename.snake)
const
PersonSafe(
{ - required int id,
- required String name,
- String? displayName,
- String? avatar,
- required bool banned,
- required DateTime published,
- DateTime? updated,
- required String actorId,
- String? bio,
- required bool local,
- String? banner,
- required bool deleted,
- required String inboxUrl,
- required String sharedInboxUrl,
- String? matrixUserId,
- required bool admin,
- required bool botAccount,
- DateTime? banExpires,
- required String instanceHost,
})
Implementation
@ForceUtcDateTime()
@ForceUtcDateTimeNullable()
@JsonSerializable(fieldRename: FieldRename.snake)
const factory PersonSafe({
required int id,
required String name,
String? displayName,
String? avatar,
required bool banned,
required DateTime published,
DateTime? updated,
required String actorId,
String? bio,
required bool local,
String? banner,
required bool deleted,
required String inboxUrl,
required String sharedInboxUrl,
String? matrixUserId,
required bool admin,
required bool botAccount,
DateTime? banExpires,
required String instanceHost,
}) = _PersonSafe;