NCMBInstallation class

デバイストークンを扱うクラス

Inheritance

Constructors

NCMBInstallation()
コンストラクター

Properties

fields → dynamic
アクセサメソッド。フィールドデータを返す
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
name → dynamic
アクセサメソッド。クラス名を返す
no setterinherited
objectId String?
オブジェクトID
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(String name, Object value) → void
指定したフィールドに値を追加する name フィールド名 value 追加するオブジェクト
inherited
addUnique(String name, Object value) → void
指定したフィールドに値を追加する(すでにある場合は追加しない) name フィールド名 value 追加するオブジェクト
inherited
containsKey(String name) bool
指定したフィールドが存在するか確認する name フィールド名
inherited
delete() Future<bool>
データを削除する
inherited
fetch() Future<void>
フィールドデータを取得する 取得したデータは自分自身にセットする
inherited
get(String name) Object?
指定したフィールドの値を返す name フィールド名
inherited
getBool(String name, {bool? defaultValue}) bool
指定したフィールドの値を真偽値として返す name フィールド名 defaultValue デフォルト値
inherited
getDateTime(String name, {DateTime? defaultValue}) DateTime
指定したフィールドの値を日時型として返す name フィールド名 defaultValue デフォルト値
inherited
getDouble(String name, {double? defaultValue}) double
挻定したフィールドの値を数値型(double)として返す name フィールド名 defaultValue デフォルト値
inherited
getInt(String name, {int? defaultValue}) int
指定したフィールドの値を数値型(int)として返す name フィールド名 defaultValue デフォルト値
inherited
getList(String name, {List? defaultValue}) List
指定したフィールドの値をリストとして返す name フィールド名 defaultValue デフォルト値
inherited
getString(String name, {String? defaultValue}) String
指定したフィールドの値を文字列型として返す name フィールド名 defaultValue デフォルト値
inherited
hasKey(String name) bool
指定したフィールドが存在するか確認する name フィールド名
inherited
increment(String name, {int number = 1}) → void
指定したフィールドの値をインクリメンタルする設定にする name フィールド名 number インクリメントする値。省略時は1
inherited
myEncode(dynamic item) → dynamic
文字列化する際に利用するエンコード関数
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(String name, Object value) → void
指定したフィールドの値を削除する name フィールド名 value 削除するオブジェクト
inherited
save() Future<void>
デバイストークンを登録する deviceTokenとdeviveTypeが必須なので、それをチェックして保存する
override
set(String name, Object value) → void
フィールドデータをセットする name フィールド名 value セットするデータ
inherited
sets(Map map) → void
フィールドデータをまとめてセットする map フィールド名をキーにしたマップデータ
inherited
toJson() → dynamic
データをJSON化する
inherited
toString() String
データを文字列化する
inherited

Operators

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

Static Methods

query() NCMBQuery
デバイストークンを検索するクエリークラスを返す