serializeOverlaySet function

List<Map<String, dynamic>>? serializeOverlaySet(
  1. Set<BaseOverlay> overlays
)

Implementation

List<Map<String, dynamic>>? serializeOverlaySet(Set<BaseOverlay> overlays) {
  return overlays
      .map<Map<String, dynamic>>((BaseOverlay overlay) => overlay.toMap())
      .toList();
}