BaseKpiResult.fromJson constructor

BaseKpiResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory BaseKpiResult.fromJson(Map<String, dynamic> json) {
  return BaseKpiResult(
    rows: (json['Rows'] as List)
        .whereNotNull()
        .map((e) => ResultRow.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}