Future<Map> toMapAsync() async { return { 'name': name, 'mimeType': await getMimeType(), 'bytes': await getBytesAsync(), }; }