core.Map<core.String, core.dynamic> toJson() => { if (lakeResources != null) 'lakeResources': lakeResources! .map((key, item) => core.MapEntry(key, item.toJson())), };