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