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