JSONHandler class

Constructors

JSONHandler()

Properties

data String
final
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getData({String url, Map header}) Future
* the getData method get Data from an API * if fails to get data it will throw an error * this method must needs an url and it also accepts header
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
postData({String url, Map postJSON, String authToken = '0', Map header}) Future
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited