VirtualRouterStatus.fromJson constructor

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

Implementation

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