Map<String, dynamic> toJson( Object? Function(I value) toJsonI, Object? Function(F value) toJsonF, ) => _$ToggleParamsToJson(this, toJsonI, toJsonF);