toNodeType method
Implementation
NodeType toNodeType() {
switch (this) {
case 'BROKER':
return NodeType.broker;
}
throw Exception('$this is not known in enum NodeType');
}
NodeType toNodeType() {
switch (this) {
case 'BROKER':
return NodeType.broker;
}
throw Exception('$this is not known in enum NodeType');
}