ucum 0.9.0 copy "ucum: ^0.9.0" to clipboard
ucum: ^0.9.0 copied to clipboard

UCUM (Unified Code for Units of Measure) for Dart — unit validation, conversion, and quantity arithmetic for healthcare. Port of the reference Java library.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add ucum

With Flutter:

 $ flutter pub add ucum

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  ucum: ^0.9.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:ucum/ucum.dart';
1
likes
160
points
1.28k
downloads

Documentation

API reference

Publisher

verified publisherfhirfli.dev

Weekly Downloads

UCUM (Unified Code for Units of Measure) for Dart — unit validation, conversion, and quantity arithmetic for healthcare. Port of the reference Java library.

Homepage
Repository (GitHub)
View/report issues

Topics

#ucum #fhir #healthcare #units #hl7

License

MIT (license)

More

Packages that depend on ucum