birthsOnThisDay method

Future<List<OnThisDayModel>> birthsOnThisDay(
  1. DateTime date
)

Implementation

Future<List<OnThisDayModel>> birthsOnThisDay(DateTime date) async {
  String _ = '${date.month}/${date.day}';
  NetworkResponse response = await _api.birthsOnThisDay(_);
  return response.data ?? [];
}