fromDict static method
(en)Restore this object from the dictionary.
(ja)辞書からオブジェクトを復元します。
src
: A dictionary made with to_dict of this class.
Implementation
static Sp3dLight fromDict(Map<String, dynamic> src) {
return Sp3dLight(Sp3dV3D.fromDict(src['direction']),
minBrightness: src['min_brightness'],
applyStroke: src['apply_stroke'],
syncCam: src['sync_cam']);
}