ErrorDocument class

A document containing just errors

Inheritance

Constructors

ErrorDocument(List<ErrorObject> errors, { Map<String, dynamic> meta, Api api, Link self })

Properties

errors → Iterable<ErrorObject>
read-only
api Api
The JSON API object
final, inherited
hashCode → int
The hash code for this object.
read-only, inherited
meta Meta
The top-level meta information
final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
self Link
final, inherited

Methods

toJson() → Map<String, dynamic>
Returns the JSON representation.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Static Methods

fromJson(Map<String, dynamic> json) ErrorDocument
Parses json object into ErrorDocument.
override