Consultation class
Constructors
-
Consultation.new({int? id, int? userId, String? question, String? medium, String? status, int? isFulfilled, int? parentConsultationId, String? createdAt, String? updatedAt, Consultation? parentConsultation, List<
Media> ? media, User? user, List<Consultation> ? consultations, String? pusherChannel, String? pusherApiKey, ChatConfig? chatConfig, VoipConfig? voipConfig, VoipConfig? videoConfig, ChatHistory? chatHistory, Recommendation? recommendation, String? doctorName, String? doctorAvatar, double? doctorAverageRating}) -
Consultation.fromJson(Map<
String, dynamic> json) -
factory
Properties
- chatConfig ↔ ChatConfig?
-
getter/setter pair
- chatHistory ↔ ChatHistory?
-
getter/setter pair
-
consultations
↔ List<
Consultation> ? -
getter/setter pair
- createdAt ↔ String?
-
getter/setter pair
- doctorAvatar ↔ String?
-
getter/setter pair
- doctorAverageRating ↔ double?
-
getter/setter pair
- doctorName ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
getter/setter pair
- isFulfilled ↔ int?
-
getter/setter pair
-
media
↔ List<
Media> ? -
getter/setter pair
- medium ↔ String?
-
getter/setter pair
- parentConsultation ↔ Consultation?
-
getter/setter pair
- parentConsultationId ↔ int?
-
getter/setter pair
- pusherApiKey ↔ String?
-
getter/setter pair
- pusherChannel ↔ String?
-
getter/setter pair
- question ↔ String?
-
getter/setter pair
- recommendation ↔ Recommendation?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ String?
-
getter/setter pair
- updatedAt ↔ String?
-
getter/setter pair
- user ↔ User?
-
getter/setter pair
- userId ↔ int?
-
getter/setter pair
- videoConfig ↔ VoipConfig?
-
getter/setter pair
- voipConfig ↔ VoipConfig?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited