NewFileDto.fromJson constructor

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

Implementation

NewFileDto.fromJson(Map<String, dynamic> json):
  pathFile = json['pathFile'] ?? '',
  pathTemplete = json['pathTemplete'] ?? '',
  extension = json['extension'] ?? 'dart',
  generate = json['generate'] ?? false,
  replaceOldFileWithNew = json['replaceOldFileWithNew'] ?? false;