NonJsonArgumentPolicy class abstract interface

An atom that names its own error for an argument JSON cannot carry — kb answers KB_INVALID_KEY or KB_INVALID_VALUE. An atom that does not implement this is refused with defaultNonJsonRefusal.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refuseNonJson(String verb, List<NonJsonArgument> found) → Object
The error to reject the call with. Never dispatches.
toString() → String
A string representation of this object.
inherited

Operators

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