Arrow class
An Arrow server.
Constructors
- Arrow()
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
-
run(
RouterBuilder routerBuilder, {int port = 8080, bool forceSSL = false, bool printRoutes = false}) → Future - Starts the Arrow server with the provided Router.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- environment → String
-
Returns the environment variable BUILD_ENV
final
- isOnDevelopment → bool
-
Returns true if the environment variable BUILD_ENV is 'development'
final
- isOnProduction → bool
-
Returns true if the environment variable BUILD_ENV is 'production'
final
- isOnStaging → bool
-
Returns true if the environment variable BUILD_ENV is 'staging'
final