SunlightBro
SunlightBro
Same issue, version.json does not load. Not in debug localhost, or on release server.
@rodion-m you can't use implicit-cast for your default value, instead give your empty list a proper type: ```dart @Default([]) List photos, ```
~~When running tests on my device `source_gen_test` fails for me ...~~ ```zsh 00:04 +50 -1: loading test/source_gen_test.dart [E] Failed to load "test/source_gen_test.dart": Failed to decode data using encoding 'utf-8', path...
With analyzer: 4.6.0 [changelog](https://pub.dev/packages/analyzer/changelog#460) > Added DartType.element2, so that InterfaceType.element2 overrides it. My approach of using **type-promotion** is no longer strictly necessary and simply replacing `.element` with `.element2` would be...
So a syntax like this, will likely be possible: ```dart var list = list.copyWith.todos[0](checked: true); ``` But is it even possible, that copyWith could be combined with the functions that...
> This may indicate an issue in the generator, the input source code, or in the > source formatter. > Could not format because the source could not be parsed:...
I really don't like tagging 🙇 people, so I'm sorry. @rrousselGit can you give short feedback if this approach is acceptable? Then I would create an initial PR with the...
@Vedsaga Try importing drift always with alias and then always use classes from drift like so: ```dart import 'package:drift/drift.dart' as drift; @drift.DriftDatabase(tables: [...], views: [...]) class Database extends _$Database {...}...
Please provide the full error-log and a full minimal reproducible example of your issue, as a Code snippet (not Images): \```dart void main() {} \``` ```dart void main() {} ```
@aliazimoshan Do you have a reproducible example for your issue? Because on latest freezed using unicode or rawString both work fine: ```dart import 'dart:convert'; import 'package:freezed_annotation/freezed_annotation.dart'; part 'foo_bar.freezed.dart'; part 'foo_bar.g.dart';...