WarningCollection constructor

WarningCollection({
  1. List<String>? warnings,
})

Implementation

WarningCollection({List<String>? warnings}) : warnings = warnings ?? [];