FileEditInput.fromMap constructor
Implementation
factory FileEditInput.fromMap(Map<String, dynamic> map) {
return FileEditInput(
filePath: map['file_path'] as String? ?? '',
oldString: map['old_string'] as String? ?? '',
newString: map['new_string'] as String? ?? '',
replaceAll: map['replace_all'] as bool? ?? false,
);
}