toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'name': name,
    'url': baseUrl,
    'filePath': fileLocalPath,
    'assetsPath': assetsPath,
    'bytes': bytes,
    'mimeType': getMimeType,
    'fileSize': fileSize,
    'fileHash': fileHash,
  };
}