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