StyleEncodable

A protocol describing a style-related entity that can be encoded.

  • jsonObject() Default implementation

    Converts this object to a dictionary representation

    Default Implementation

    Given an Encodable object return the JSON dictionary representation

    Throws

    Errors occurring during encoding, or TypeConversionError.invalidJSONObject
  • allStyleProperties() Extension method

    Encodes the receiver into a Dictionary representation.