NodeIcon.fromJson constructor

NodeIcon.fromJson(
  1. dynamic json
)

Construct a NodeIcon from a JSON object.

Implementation

factory NodeIcon.fromJson(dynamic json) {
  return NodeIcon(
    fontFamily: json["fontFamily"],
    codePoint: json["codePoint"],
  );
}