MADE WITH    BY THE FLUTTER COMMUNITY
An open list of apps built with Flutter
Feel free to add an app in progress and update it when it goes live
  SUBMIT APP     FOLLOW US

Auto Json to Dart Converter

Generate JSON to Dart and save it in folder json_to_dart on mobile
  Twitter     Instagram  

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());
});
}

 

 

FLUTTER EVENTS    •    FLUTTER PRO    •    IT'S ALL WIDGETS!    •    FLUTTERX    •    FLUTTER STREAMS