SpaceView constructor

const SpaceView({
  1. @Default.new('com.atproto.space.listSpaces#spaceView') String $type,
  2. required String space,
  3. String? repoRev,
  4. Map<String, dynamic>? data,
  5. String? spaceRev,
  6. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory SpaceView({
  @Default('com.atproto.space.listSpaces#spaceView') String $type,
  required String space,

  /// The current revision of the account's repo in the space, if it has one.
  String? repoRev,

  /// The current commit data of the account's repo in the space, if it has one.
  Map<String, dynamic>? data,

  /// The current revision of the space. Only included if the account is the space's authority.
  String? spaceRev,

  Map<String, dynamic>? $unknown,
}) = _SpaceView;