toJson method

dynamic toJson()

Create JSON serializable representation of this NodeIcon.

Implementation

dynamic toJson() => {
      "fontFamily": fontFamily,
      "codePoint": codePoint,
    };