79695207

Date: 2025-07-09 07:11:32
Score: 1
Natty:
Report link

No, Item(isLoading: true) is not a constructor call — it is a pattern match using Dart's record/class pattern matching syntax (available since Dart 3).

example:
var rec = (25, "name", isAdult: false, weight: 60.09);
we can declare a record like this.

https://dart.dev/language/records

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Eranga