toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'Name': name,
'IsFolder': isFolder,
'ModifiedDate':
modifiedDate == null ? '' : modifiedDate!.toUtc().toIso8601String(),
'Size': size,
'Path': path
};
}