fromList static method

List<PCanvasElement?> fromList(
  1. List l
)

Implementation

static List<PCanvasElement?> fromList(List l) =>
    l.map(PCanvasElement.from).toList();