Closed voiddog closed 5 years ago
Describe the bug Current ItemBean is
ItemBean
class ItemBean { final String type; final Object data; const ItemBean(this.type, this.data); ItemBean clone({String type, Object data}) => ItemBean(type, data); }
I think the correct code is below:
class ItemBean { final String type; final Object data; const ItemBean(this.type, this.data); ItemBean clone({String type, Object data}) => ItemBean(type ?? this.type, data ?? this.data); }
感谢反馈, 已发布0.2.8
Describe the bug Current
ItemBean
isI think the correct code is below: