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