VirtualRouterSpec.fromJson constructor
Implementation
factory VirtualRouterSpec.fromJson(Map<String, dynamic> json) {
return VirtualRouterSpec(
listeners: (json['listeners'] as List?)
?.whereNotNull()
.map((e) => VirtualRouterListener.fromJson(e as Map<String, dynamic>))
.toList(),
);
}