KpiMonthValue class
DTO que asocia un valor KPI numérico a un mes concreto.
Utilizado en las gráficas de evolución mensual del dashboard (ingresos, éxitus, estancia media, etc.).
Constructors
- KpiMonthValue({required int month, required double value})
-
KpiMonthValue.fromJson(Map<
String, dynamic> json) -
Crea una instancia a partir del JSON devuelto por el backend.
El campo
valuese normaliza a double para soportar decimales.factory
Properties
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