HrvHandlerBean.fromJson constructor

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

Implementation

factory HrvHandlerBean.fromJson(Map<String, dynamic> json) => HrvHandlerBean(
      type: json["type"],
      isSupport: json["isSupport"] ?? false,
      value: json["value"] ?? -1,
      list: List<HistoryHrvInfoBean>.from((json["list"] ?? []).map((x) => (HistoryHrvInfoBean.fromJson(x)))),
    );