core.Map<core.String, core.dynamic> toJson() => { if (sharedFlows != null) 'sharedFlows': sharedFlows!, };