toMap method

Map<String, dynamic> toMap()

Converts the CloudFiles object to a Map

Implementation

Map<String, dynamic> toMap() {
  return {
    'id': id,
    'title': title,
    'filePath': filePath,
    'fileDate': fileDate?.toString(),
    'sizeInBytes': sizeInBytes,
    'lastSyncDt': lastSyncDt?.toString(),
    'relativePath': relativePath
  };
}