ListBean.fromJson constructor

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

Implementation

factory ListBean.fromJson(Map<String, dynamic> json) =>
    ListBean(value: json["value"] ?? -1);