KpiDoctorData class
DTO de datos KPI desglosados por médico.
Contiene la identificación del profesional y su serie temporal de KpiMonthValue, usada para renderizar gráficas comparativas entre médicos en el dashboard.
Constructors
-
KpiDoctorData({required String doctorId, required String doctorName, required String doctorSurname, required List<
KpiMonthValue> data}) -
KpiDoctorData.fromJson(Map<
String, dynamic> json) -
Parsea el JSON del backend incluyendo la lista anidada de KpiMonthValue.
factory
Properties
-
data
→ List<
KpiMonthValue> -
final
- doctorId → String
-
final
- doctorName → String
-
final
- doctorSurname → String
-
final
- fullName → String
-
Nombre completo formateado con el prefijo «Dr.» para mostrar en la UI.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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