MemberspacePolicy constructor
const
MemberspacePolicy({})
Implementation
@JsonSerializable(includeIfNull: false)
const factory MemberspacePolicy({
@Default('com.atproto.memberspace.policy') String $type,
/// If true, anyone may read the space. Otherwise, only members with read access.
@Default(false) bool publicRead,
/// If true, any account's writes are tracked in the writer set, except members without write access. Otherwise, only members with write access.
@Default(false) bool publicWrite,
List<String>? allowedApps,
/// Publish the policy as a com.atproto.space.policy record in the space.
@Default(false) bool publishPolicy,
/// Publish the member list as com.atproto.memberspace.member records in the space.
@Default(false) bool publishMembers,
Map<String, dynamic>? $unknown,
}) = _MemberspacePolicy;