Map<String, dynamic> toJson() { final _json = <String, dynamic>{}; if (active != null) { _json[r'active'] = active; } return _json; }