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