❓Using .first, .last, or [] on a list without checking if it’s empty? The "avoid-unsafe-collection-methods" rule flags such usages as they can throw at runtime. Prefer safer alternatives in your #Flutter apps like .firstOrNull or .elementAtOrNull from the "collection" package.
4 likes 1 replies
?