Map<String, dynamic> toJson() { final map = <String, dynamic>{}; if (_activeList != null) { map['activeList'] = _activeList?.map((v) => v.toJson()).toList(); } return map; }