NodeType.fromJson constructor Null safety

NodeType.fromJson(
  1. String value
)

Implementation

factory NodeType.fromJson(String value) => NodeType(value);