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