feedbackTypesToMap method

List<Map<String, dynamic>>? feedbackTypesToMap(
  1. List<FeedbackType>? feedbackTypes
)

Converts list of FeedbackType to list of maps.

Implementation

List<Map<String, dynamic>>? feedbackTypesToMap(
    List<FeedbackType>? feedbackTypes) {
  return feedbackTypes?.map((feedbackType) => feedbackType.toMap()).toList();
}