urine.dart 464 B

12345678910111213141516171819
  1. import 'package:vnote_device_plugin/models/exams/urine.dart';
  2. class UrineExamDataMapper {
  3. static Map<String, dynamic> convertUrineExamDataToMap(UrineExamData data) {
  4. return {
  5. 'LEU': data.leu,
  6. 'BLD': data.bld,
  7. 'NIT': data.nit,
  8. 'KET': data.ket,
  9. 'UBG': data.ubg,
  10. 'BIL': data.bil,
  11. 'PRO': data.pro,
  12. 'GLU': data.glu,
  13. 'PH': data.ph.toString(),
  14. 'SG': data.sg.toString(),
  15. 'VC': data.vc,
  16. };
  17. }
  18. }