fetchMessages method Null safety

Future<Response> fetchMessages(
  1. {required String lastReceivedId}
)

Implementation

Future<http.Response> fetchMessages({
  required String lastReceivedId
})async{
  return await africasTalking.httpGetProcess(
    africasTalking.isLive ? smsLiveUrl : smsTestUrl,
    {
      'lastReceivedId': lastReceivedId,
    }
  );

}