toMap method

Future<Map> toMap()

Implementation

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