NCMBObject constructor

NCMBObject(
  1. String _name, {
  2. Map fields = const {},
})

コンストラクター name クラス名 fields フィールドデータ。省略時は空のMap

Implementation

NCMBObject(this._name, {Map fields = const {}}) {
  fields.forEach((key, value) {
    _fields[key] = fields[key];
  });
}