getSurveys abstract method

Future<void> getSurveys(
  1. void onResponse(
    1. List<Survey>
    ),
  2. void onFailure(
    1. Exception
    )
)

Implementation

Future<void> getSurveys(
  void Function(List<Survey>) onResponse,
  void Function(Exception) onFailure,
);