HttpDataParser<T> class abstract

Abstract class that must be implemented by the models that will later be sent to the methods of the package.

Example:

getOne<T>() ---> T = Model that implements HttpDataParser

Constructors

HttpDataParser()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromJson(Map<String, dynamic> json) → T
Convert json data to model T
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert model T to json
toString() String
A string representation of this object.
inherited

Operators

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