NodeProperties.fromJson constructor
Implementation
factory NodeProperties.fromJson(Map<String, dynamic> json) {
return NodeProperties(
mainNode: json['mainNode'] as int,
nodeRangeProperties: (json['nodeRangeProperties'] as List)
.whereNotNull()
.map((e) => NodeRangeProperty.fromJson(e as Map<String, dynamic>))
.toList(),
numNodes: json['numNodes'] as int,
);
}