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