eventNoteStatusListFromJson function

List<EventNoteStatus> eventNoteStatusListFromJson(
  1. List? eventNoteStatus
)

Implementation

List<enums.EventNoteStatus> eventNoteStatusListFromJson(List? eventNoteStatus) {
  if (eventNoteStatus == null) {
    return [];
  }

  return eventNoteStatus
      .map((e) => eventNoteStatusFromJson(e.toString()))
      .toList();
}