WidgetFile.fromJson constructor

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

Implementation

factory WidgetFile.fromJson(Map<String, dynamic> json) {
  return WidgetFile(
    name: json['name'],
    filepath: json['file_path'],
    content: json['content'],
  );
}