restErrors property
Forward errors from a RestException
response. null
is returned
if originalError was not fromRest.
Implementation
Map<String, dynamic>? get restErrors {
if (!fromRest) return null;
return (originalError as RestException).errors;
}