getMoonWellness method

Future<InsightsResponse> getMoonWellness(
  1. SingleSubjectRequest request, {
  2. RequestOptions? options,
})

Implementation

Future<InsightsResponse> getMoonWellness(
  SingleSubjectRequest request, {
  RequestOptions? options,
}) async {
  final data = await http.post<Map<String, dynamic>>(
    buildUrl(['moon-wellness']),
    request.toJson(),
    options: options,
  );
  return GenericResponse.fromJson(data);
}