AiutaDebugSettings class
This class is used to configure the debug settings of the Aiuta SDK. It contains the logging settings and validation policies for various parameters.
- Annotations
-
- @JsonSerializable()
Constructors
- AiutaDebugSettings.new({required bool isLoggingEnabled, required AiutaValidationPolicy emptyStringsPolicy, required AiutaValidationPolicy infoPlistDescriptionsPolicy, required AiutaValidationPolicy listSizePolicy})
-
Creates an AiutaDebugSettings with the
isLoggingEnabled
to enable or disable logging,emptyStringsPolicy
to validate if required strings are not empty,unavailableResourcesPolicy
to validate if graphics resources that are passed by path are available,infoPlistDescriptionsPolicy
to validate if the Info.plist contains the required descriptions, andlistSizePolicy
to validate if the list sizes of configurations are in valid range. - AiutaDebugSettings.builtIn()
-
Creates a built-in debug settings configuration with default values.
factory
-
AiutaDebugSettings.fromJson(Map<
String, dynamic> json) -
factory
Properties
- emptyStringsPolicy → AiutaValidationPolicy
-
Policy for handling empty strings.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- infoPlistDescriptionsPolicy → AiutaValidationPolicy
-
Policy for handling missing Info.plist descriptions.
final
- isLoggingEnabled → bool
-
Whether logging is enabled.
final
- listSizePolicy → AiutaValidationPolicy
-
Policy for handling list size validation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Policy for handling unavailable resources.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited