     var id: String { get set }
     var data: [String: Any] { get set }
     
-    init?(dict: [String: Any])
-    init(id: String)
-    
     func toDict() -> [String: Any]
 }
 

        public var id: String
        public var data: [String: Any]
        
        public required init?(dict: [String: Any]) {
            guard
                let id = dict["id"] as? String,
                let data = dict["data"] as? [String: Any]

            self.data = data
        }
        
        public init(id: String) {
            self.id = id
            self.data = [:]
        }
