generic_json_serializable 0.0.2 copy "generic_json_serializable: ^0.0.2" to clipboard
generic_json_serializable: ^0.0.2 copied to clipboard

generic serialize

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add generic_json_serializable

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

dependencies:
  generic_json_serializable: ^0.0.2

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

Import it

Now in your Dart code, you can use:

import 'package:generic_json_serializable/generic_json_serializable.dart';