RuntimeSettings class abstract

Runtime settings of the server.

Constructors

RuntimeSettings({int? id, required LogSettings logSettings, required List<LogSettingsOverride> logSettingsOverrides, required bool logServiceCalls, required bool logMalformedCalls})
factory
RuntimeSettings.fromJson(Map<String, dynamic> jsonSerialization, SerializationManager serializationManager)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id int?
The database id, set if the object has been inserted into the database or if it has been fetched from the database. Otherwise, the id will be null.
getter/setter pair
logMalformedCalls bool
True if malformed calls should be logged.
getter/setter pair
logServiceCalls bool
True if service calls to Serverpod Insights should be logged.
getter/setter pair
logSettings LogSettings
Log settings.
getter/setter pair
logSettingsOverrides List<LogSettingsOverride>
List of log setting overrides.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

allToJson() → dynamic
Returns a serialized JSON structure of the model which also includes fields used by the database.
inherited
copyWith({int? id, LogSettings? logSettings, List<LogSettingsOverride>? logSettingsOverrides, bool? logServiceCalls, bool? logMalformedCalls}) RuntimeSettings
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a serialized JSON structure of the model, ready to be sent through the API. This does not include fields that are marked as database only.
toString() String
A string representation of this object.
inherited

Operators

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