我试着用flutter build web(也尝试过flutter build web --no-sound-null-safety).When在发布模式上构建颤振web应用程序,我得到了下面的错误。
Target dart2js failed: Exception: Warning: The 'dart2js' entrypointscript is deprecated, please use 'dart</e
根据json_serializable包,您应该添加以下依赖项: json_serializable: ^2.0.3import 'package:json_annotation/json_annotation.dart';
class Person {
finaljson) => _$PersonFromJson(