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