HttpDataParser<T> class Null safety

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.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

fromJson(Map<String, dynamic> json) → T
Convert json data to model T
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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