我遇到的问题与序列化和解码JSON有关。我正在尝试序列化Protobuf消息,以便与redux持久化一起使用它。null : this.protoUser.writeToJsonMap()), }这是我用来读取持久化状态的方法:factory AuthState.fromJSON(Map<String, dynamic> json){
new Aut
因此,我的问题是,当我打印到控制台时,我的仪表板模型没有获得来自json字符串parsed.Basically Dashboard.userActivity和Dashboard.appName为NULL与带有toJson和fromJson助手方法的仪表板相同。import 'package:flutter/foundation.dart';
im