download method Null safety

Future<String> download()

Downloads the attachment as String

Implementation

Future<String> download() =>
    Requests.get<String>(url, auths[_accountId]!.headers);