networkjson 0.1.5 networkjson: ^0.1.5 copied to clipboard
Dart (Flutter) Network JSON fetch and manipulation library, the package consists of JsonObject and JsonArray and handlers to get JsonArray from objects and JsonObject from arrays.
import 'dart:async';
import 'package:networkjson/networkjson.dart';
void main() {
Future<JsonObject> jsonRequest = JsonObject.get("https://jsonplaceholder.typicode.com/todos/1");
jsonRequest.then((json) {
print(json["title"]);
});
}