OutputOptions class
Creates output normalization settings for the SDK.
Constructors
- OutputOptions.new({required bool jsonOnly, required bool tryParseJsonText, required BytesJsonMode bytesMode})
-
Creates a new set of output options.
const
- OutputOptions.jsonOnly({bool tryParseJsonText = true, BytesJsonMode bytesMode = BytesJsonMode.saveToFile})
-
Creates the package's standard JSON-friendly output configuration.
factory
Properties
- bytesMode → BytesJsonMode
-
Preferred handling for byte responses.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonOnly → bool
-
Whether responses should be constrained to JSON-friendly values.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tryParseJsonText → bool
-
Whether string responses that look like JSON should be decoded.
final
Methods
-
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