toJson method

Map<String, dynamic> toJson()

Implementation

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