NiddlerBuilder class

Builder used to create niddler instances Uses the following defaults:

  • no password
  • server port 0 (for automatic configuration)
  • cache size 1MB

Constructors

NiddlerBuilder()

Properties

bundleId String?
The bundle id of the application. Can be an iOS bundle id, android package name, ... Used to identify the application to the client
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
includeStackTrace bool
Include stack trace of the request
getter/setter pair
maxCacheSize int
The cache size in bytes the internal niddler cache tries to limit itself to. Defaults to 1mb
getter/setter pair
password String?
NO LONGER SUPPORTED The password to use to authenticate new clients (just authentication, no encryption). Leave empty to disable (default)
getter/setter pair
port int
The port to run the server on. Set to 0 to allow niddler to pick a free port (default). A log will be printed with the active port
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sanitizer StackTraceSanitizer
Customize stack trace sanitization. Sensible defaults for flutter/dio are set by default by DefaultStackTraceSanitizer
getter/setter pair
serverInfo NiddlerServerInfo?
Some cosmetic information about the server for the client
getter/setter pair

Methods

build() Niddler
Create the niddler instance
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