Data.fromMap constructor

Data.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory Data.fromMap(Map<String, dynamic> json) => Data(
      type: json["type"],
      value: json["value"],
    );