Asset.fromJson constructor

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

Creates an instance of Asset from a JSON map.

Implementation

factory Asset.fromJson(Map<String, dynamic> json) => Asset(
  key: json['key'],
  value: json['value'],
  fileDataId: json['file_data_id'],
);