Variables class
設定値の取得・管理を司るクラスです。
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Methods
-
fetch(
) → Future< bool> - 設定値を取得し、端末上にキャッシュします。
-
get(
String key) → Future< Variable> -
指定されたキーに関連付けられた設定値にアクセスします。
なお設定値にアクセスするには事前に
Variables.fetch()
を呼び出しておく必要があります。 -
trackClick(
List< Variable> variables, [Map? values]) → void - 指定された設定値に関連するキャンペーン情報を元に効果測定用のイベント(message_click)を発火します。
-
trackOpen(
List< Variable> variables, [Map? values]) → void - 指定された設定値に関連するキャンペーン情報を元に効果測定用のイベント(message_open)を発火します。