VirtualNodeStatus.fromJson constructor

VirtualNodeStatus.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory VirtualNodeStatus.fromJson(Map<String, dynamic> json) {
  return VirtualNodeStatus(
    status: (json['status'] as String).toVirtualNodeStatusCode(),
  );
}