object_mapper 1.2.1 copy "object_mapper: ^1.2.1" to clipboard
object_mapper: ^1.2.1 copied to clipboard

Object Mapper is a package written in Dart that makes it easy for you to convert your model objects to and from JSON.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add object_mapper

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

dependencies:
  object_mapper: ^1.2.1

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

Import it

Now in your Dart code, you can use:

import 'package:object_mapper/object_mapper.dart';
12
likes
140
points
2.7k
downloads

Publisher

unverified uploader

Weekly Downloads

Object Mapper is a package written in Dart that makes it easy for you to convert your model objects to and from JSON.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on object_mapper