ErrorObject constructor
ErrorObject({})
Creates an instance of a JSON:API Error.
The links map may contain custom links. The about link
passed through the [links'about'
] argument takes precedence and will overwrite
the about
key in links.
Implementation
ErrorObject(
{this.id = '',
this.status = '',
this.code = '',
this.title = '',
this.detail = '',
this.source = const ErrorSource()});