SpaceData constructor

SpaceData({
  1. required List<SpaceMemberDTO> members,
  2. required List<SpaceMemberDTO> pendingMembers,
  3. String? contractAddressERC20,
  4. required int numberOfERC20,
  5. String? contractAddressNFT,
  6. required int numberOfNFTTokens,
  7. required String verificationProof,
  8. String? spaceImage,
  9. required String spaceName,
  10. required bool isPublic,
  11. required String spaceDescription,
  12. required String spaceCreator,
  13. required String spaceId,
  14. DateTime? scheduleAt,
  15. DateTime? scheduleEnd,
  16. ChatStatus? status,
  17. required LiveSpaceData liveSpaceData,
})

Implementation

SpaceData({
  required List<SpaceMemberDTO> members,
  required List<SpaceMemberDTO> pendingMembers,
  String? contractAddressERC20,
  required int numberOfERC20,
  String? contractAddressNFT,
  required int numberOfNFTTokens,
  required String verificationProof,
  String? spaceImage,
  required String spaceName,
  required bool isPublic,
  required String spaceDescription,
  required String spaceCreator,
  required String spaceId,
  DateTime? scheduleAt,
  DateTime? scheduleEnd,
  ChatStatus? status,
  required this.liveSpaceData,
}) : super(
        members: members,
        pendingMembers: pendingMembers,
        contractAddressERC20: contractAddressERC20,
        numberOfERC20: numberOfERC20,
        contractAddressNFT: contractAddressNFT,
        numberOfNFTTokens: numberOfNFTTokens,
        verificationProof: verificationProof,
        spaceImage: spaceImage,
        spaceName: spaceName,
        isPublic: isPublic,
        spaceDescription: spaceDescription,
        spaceCreator: spaceCreator,
        spaceId: spaceId,
        scheduleAt: scheduleAt,
        scheduleEnd: scheduleEnd,
        status: status,
      );