Auto Json to Dart Converter
Generate JSON to Dart and save it in folder json_to_dart on mobile
Auto Json to Dart Converter

Just provide the api link and Dart is created on the device with folder name json_to_dart.

Installation
First, add auto_json_to_dart_converter: as a dependency in your pubspec.yaml file.

Import

import 'package:auto_json_to_dart_converter/auto_json_to_dart_converter.dart';
Just Provide api link and class name

Future<void> getdata() async {
AutoJsonToDartConverterGetMethod(
'https://raw.githubusercontent.com/javiercbk/json_to_dart/master/example/sample.json',
'Zeeshan',null)
.getmethod
.then((onValue) {
print(onValue.toString());
}).catchError((onError) {
print(onError.toString());
});
}