WindowsOptions class

Specific options for Windows platform.

Inheritance
  • Object
  • Options
  • WindowsOptions

Constructors

WindowsOptions.new({bool useBackwardCompatibility = false})
  • If useBackwardCompatibility is set to true, trying to read from values which were written by previous versions. In addition, when reading or writing from previous version's storage, read values will be migrated to new storage automatically. This may introduces some performance hit and might cause error for some kinds of keys. Default is false. You must set this value to false if you could use:
    • Keys containing ", <, >, |, :, *, ?, /, \, or any of ASCII control charactors.
    • Keys containing /../, \..\, or their combinations.
    • Long key string (precise size is depends on your app's product name, company name, and account name who executes your app).
  • const

    Properties

    hashCode int
    The hash code for this object.
    no setterinherited
    params Map<String, String>
    A getter that retrieves the options as a map representation.
    no setterinherited
    runtimeType Type
    A representation of the runtime type of the object.
    no setterinherited

    Methods

    copyWith({bool? useBackwardCompatibility}) WindowsOptions
    Creates a new instance of WindowsOptions by copying the current instance and replacing specified properties with new values.
    noSuchMethod(Invocation invocation) → dynamic
    Invoked when a nonexistent method or property is accessed.
    inherited
    toMap() Map<String, String>
    Converts the options into a map representation.
    override
    toString() String
    A string representation of this object.
    inherited

    Operators

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

    Constants

    defaultOptions → const WindowsOptions
    A predefined WindowsOptions instance with default settings.