UDormResponse class

Constructors

UDormResponse({required String id, required DateTime createdAt, required UDormJson jsonData, required List<int> tags, required String title, required String cityCode, String? address, String? phoneNumber, List<String> adminUserIds = const <String>[], double averageScore = 0, int commentCount = 0, double? minMonthlyRent, int bedCount = 0, int availableBedCount = 0, UUserResponse? creator, String? creatorId, List<UDormRoomResponse>? rooms, List<UDormBedResponse>? beds, List<UCommentResponse>? comments, List<UMediaResponse>? media})
UDormResponse.fromJson(String str)
factory
UDormResponse.fromMap(Map<String, dynamic> json)
factory

Properties

address → String?
final
adminUserIds → List<String>
final
availableBedCount → int
final
averageScore → double
final
bedCount → int
final
beds → List<UDormBedResponse>?
final
cityCode → String
final
commentCount → int
final
comments → List<UCommentResponse>?
final
createdAt → DateTime
final
creator → UUserResponse?
final
creatorId → String?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
jsonData → UDormJson
final
media → List<UMediaResponse>?
final
minMonthlyRent → double?
final
phoneNumber → String?
final
rooms → List<UDormRoomResponse>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → List<int>
final
title → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → String
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited