discontinuedPackage pubspec2 has been discontinued and replaced by pubspec_manager.

toJson abstract method

dynamic toJson()
inherited

Implementation

toJson();