ServerRequest class
class ServerRequest {
final dynamic args;
final String type;
String authenticatedUserId;
Connection loopBack;
/**
* Creates a [ServerRequest] with specified [type] and [args]
* [type] is the name of the requested server function
* [args] is a map of arguments for the specified server function
*/
ServerRequest(this.type, this.args, this.authenticatedUserId, this.loopBack);
}
Constructors
new ServerRequest(String type, args, String authenticatedUserId, Connection loopBack) #
Creates a ServerRequest with specified type and [args] [type] is the name of the requested server function args is a map of arguments for the specified server function
ServerRequest(this.type, this.args, this.authenticatedUserId, this.loopBack);