toJson method

  1. @override
Map<String, dynamic> toJson()
override

FlowMolar$MillimolPerHour in JSON Map for advance use-case

Implementation

@override
Map<String, dynamic> toJson() => {
      majorName: {
        _unit: _minorName,
        _value: value,
      },
    };