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