Records | Dart
Record syntax. Records expressions are comma-delimited lists of named or positional fields, enclosed in parentheses: dart. var record = ('first', a: 2, b: true, 'last'); Record type annotations are comma-delimited lists of types enclosed in parentheses. You can use record type annotations to define return types and parameter types.
اقرأ المزيد