mapToFeedbackTypes method

List<FeedbackType>? mapToFeedbackTypes(
  1. List<Map>? feedbackTypesMaps
)

Converts list of maps to list of FeedbackType.

Implementation

List<FeedbackType>? mapToFeedbackTypes(List<Map>? feedbackTypesMaps) {
  return feedbackTypesMaps?.map((map) => FeedbackType.fromMap(map)).toList();
}