ErrorMetaData class

Base meta data error when receive data from a API

Constructors

ErrorMetaData({required String error, required bool success})
ErrorMetaData.fromJson(Map<String, dynamic> json)
Mapping data MetaData from Map or Json data
factory

Properties

error String
Message base from data API, message error
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool
When success is true, otherwise false
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Generate MetaData toMap
toString() String
A string representation of this object.
inherited

Operators

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