adarshbalu / twilio_flutter

A Flutter package for Twilio API.
https://pub.dev/packages/twilio_flutter
MIT License
24 stars 23 forks source link

"Future getSMSList(String url) async" never returns a list #2

Closed rstenberg closed 3 years ago

rstenberg commented 4 years ago

"Future getSMSList(String url) async" in twilio_flutter/lib/models/sms.dart never returns a list. It always returns null because the function does not specify a Future return type.

Please see https://stackoverflow.com/questions/59027206/flutter-async-function-from-a-different-class-prints-okay-but-returns-null for a similar scenario.

adarshbalu commented 4 years ago

Thank you. Will resolve.

adarshbalu commented 3 years ago

Method deprecated in the latest release. Added another method for the same.