create method

Future<ResponseItemDTO> create({
  1. ThemeBody? theme,
})

Implementation

Future<ResponseItemDTO> create({ThemeBody? theme}) async {
  final response = await _http!.request(
    requestType: RequestType.post,
    path: '/dashboard/themes',
    data: theme,
  );

  return ResponseItemDTO(
    response: response,
    fromJson: null,
  );
}