SuasEncodable
public protocol SuasEncodable
Protocol used from MonitorMiddleware
to convert a type to a [String: Any]
When using MonitorMiddleware
types can implement SuasEncodable
to be transferred to Suas Monitor desktop app
-
Convert the type to a dictionary to be transmitted to Suas Monitor desktop app
Declaration
Swift
func toDictionary() -> [String: Any]