RequestOptions class
リクエスト単位のオプション。
Constructors
Properties
- authRequired → bool
-
認証必須か。true の場合 POST の JSON body に
iを自動注入するfinal - contentType → String?
-
このリクエストのContent-Typeを明示的に指定する。未指定時はDioが推論する
final
-
extra
→ Map<
String, dynamic> -
Dioの
Options.extraに引き継ぐ追加情報final - hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
このリクエスト固有の追加ヘッダ
final
- idempotent → bool
-
冪等リクエストか。true の場合のみ自動リトライ対象
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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