SimApiHttpResponse class

Constructors

SimApiHttpResponse.new()

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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

created(dynamic id) → dynamic
Creates a Response for a resource creation with a Created status.
methodNotAllowed() → dynamic
Creates a Response for a request with a Method Not Allowed status.
noContent() → dynamic
Creates a Response for a successful request with no content.
notFound() → dynamic
Creates a Response for a request with a Not Found status.
ok(dynamic data) → dynamic
Creates a Response for a successful request with an OK status.